Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 109 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 190.6 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3747/0.3747, allocations: 43.5 MB / 313.6 MB, free: 8.535 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1191, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003074/0.1222, allocations: 1.76 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1235, allocations: 0.7885 MB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.1236, allocations: 3.938 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1238, allocations: 39.89 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1241, allocations: 51.83 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.1243, allocations: 71.8 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1244, allocations: 99.69 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.1245, allocations: 20.2 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.1246, allocations: 43.73 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.1247, allocations: 31.84 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1247, allocations: 4 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.1248, allocations: 39.98 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.1249, allocations: 19.92 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.1249, allocations: 39.73 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1251, allocations: 115.9 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1251, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1251, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1251, allocations: 3.938 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005113/0.1256, allocations: 414.9 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1257, allocations: 15.89 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.1257, allocations: 34.75 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1258, allocations: 8.844 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.126, allocations: 212.7 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.126, allocations: 8.375 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.126, allocations: 3.938 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1262, allocations: 57.61 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1262, allocations: 4 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1262, allocations: 3.984 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1262, allocations: 4 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.1263, allocations: 15.98 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1267, allocations: 284.9 kB / 444.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1269, allocations: 70.61 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.127, allocations: 16.86 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.127, allocations: 0 / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.1272, allocations: 71.38 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1272, allocations: 0 / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005988/0.1278, allocations: 173.1 kB / 444.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1279, allocations: 55.41 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1281, allocations: 199.3 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1281, allocations: 29.7 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.1282, allocations: 108 kB / 445 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1283, allocations: 23.73 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1283, allocations: 21.72 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1285, allocations: 322.8 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.093e-05/0.1285, allocations: 27.86 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1286, allocations: 45.64 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1288, allocations: 57.7 kB / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1288, allocations: 0 / 445.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001867/0.129, allocations: 105.4 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.129, allocations: 4 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.129, allocations: 0 / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.129, allocations: 0 / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.1291, allocations: 24.02 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1291, allocations: 0 / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.1292, allocations: 7.938 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1292, allocations: 4 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.1293, allocations: 133.6 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1294, allocations: 11.81 kB / 445.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.1294, allocations: 13.41 kB / 445.8 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1294, allocations: 4 kB / 445.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1294, allocations: 0 / 445.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1294, allocations: 11.92 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.1299, allocations: 387.3 kB / 446.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1299, allocations: 0 / 446.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.13, allocations: 8 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.13, allocations: 4.312 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.13, allocations: 4 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.13, allocations: 8 kB / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.13, allocations: 3.984 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1302, allocations: 200.3 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.1303, allocations: 88.92 kB / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1303, allocations: 11.88 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.1304, allocations: 4 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1304, allocations: 3.984 kB / 446.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1305, allocations: 8 kB / 446.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1306, allocations: 156.9 kB / 446.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1306, allocations: 0 / 446.6 MB, free: 7.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1309, allocations: 24 kB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.1324, allocations: 1.103 MB / 447.8 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1326, allocations: 55.98 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1326, allocations: 0 / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.1327, allocations: 39.97 kB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.133, allocations: 39.83 kB / 447.9 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1347, allocations: 1.678 MB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.135, allocations: 0.7041 MB / 450.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.094e-05/0.1351, allocations: 21.16 kB / 450.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.1352, allocations: 35.42 kB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1352, allocations: 4 kB / 450.3 MB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1488, allocations: 3.242 MB / 453.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.1491, allocations: 234.7 kB / 453.8 MB, free: 388 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.926, allocations: 4 kB / 453.8 MB, free: 384 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches