Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 211.5 kB / 22.99 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2756/0.2756, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 75.91 kB / 467.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1244, allocations: 61.04 MB / 0.5162 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003427/0.1278, allocations: 1.692 MB / 0.5179 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1294, allocations: 0.7806 MB / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.1295, allocations: 3.938 kB / 0.5186 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1299, allocations: 51.75 kB / 0.5187 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.1302, allocations: 55.77 kB / 0.5187 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1305, allocations: 83.77 kB / 0.5188 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1307, allocations: 103.7 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1308, allocations: 8.219 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.1309, allocations: 39.8 kB / 0.519 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.131, allocations: 31.78 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1311, allocations: 4 kB / 0.519 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1312, allocations: 43.98 kB / 0.519 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.745e-05/0.1313, allocations: 27.91 kB / 0.5191 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.1313, allocations: 31.8 kB / 0.5191 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1316, allocations: 119.4 kB / 0.5192 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1316, allocations: 3.938 kB / 0.5192 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1316, allocations: 0 / 0.5192 GB, free: 4.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1317, allocations: 4 kB / 0.5192 GB, free: 4.027 MB / 398.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.0007132/0.1324, allocations: 345.6 kB / 0.5195 GB, free: 3.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1324, allocations: 12.03 kB / 0.5196 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1325, allocations: 38.73 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.1325, allocations: 16.84 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1328, allocations: 142.3 kB / 0.5197 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1329, allocations: 4.375 kB / 0.5197 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.1329, allocations: 7.938 kB / 0.5198 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1331, allocations: 61.61 kB / 0.5198 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1331, allocations: 4 kB / 0.5198 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1331, allocations: 0 / 0.5198 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1331, allocations: 0 / 0.5198 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.1332, allocations: 19.98 kB / 0.5198 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.1337, allocations: 264 kB / 0.5201 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1339, allocations: 54.62 kB / 0.5201 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.1339, allocations: 20.84 kB / 0.5202 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1339, allocations: 4 kB / 0.5202 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.1341, allocations: 63.39 kB / 0.5202 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1341, allocations: 4 kB / 0.5202 GB, free: 2.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006216/0.1348, allocations: 189.3 kB / 0.5204 GB, free: 2.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.1348, allocations: 55.39 kB / 0.5205 GB, free: 2.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1351, allocations: 238.6 kB / 0.5207 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1351, allocations: 25.7 kB / 0.5207 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.1352, allocations: 112 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.1352, allocations: 23.84 kB / 0.5208 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.1353, allocations: 21.72 kB / 0.5209 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1355, allocations: 330.8 kB / 0.5212 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.1355, allocations: 20 kB / 0.5212 GB, free: 1.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.1356, allocations: 41.64 kB / 0.5212 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1358, allocations: 65.69 kB / 0.5213 GB, free: 1.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1358, allocations: 0 / 0.5213 GB, free: 1.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.136, allocations: 105.5 kB / 0.5214 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.136, allocations: 4 kB / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.136, allocations: 0 / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.136, allocations: 4 kB / 0.5214 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1362, allocations: 19.98 kB / 0.5214 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1362, allocations: 4.031 kB / 0.5214 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.1362, allocations: 7.938 kB / 0.5214 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1362, allocations: 0 / 0.5214 GB, free: 1.531 MB / 398.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.000166/0.1364, allocations: 141.8 kB / 0.5216 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1364, allocations: 7.953 kB / 0.5216 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.1367, allocations: 127 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1367, allocations: 0 / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1367, allocations: 0 / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1368, allocations: 3.938 kB / 0.5217 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.1373, allocations: 374.6 kB / 0.5221 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1373, allocations: 4 kB / 0.5221 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1374, allocations: 11.98 kB / 0.5221 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1374, allocations: 3.938 kB / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1374, allocations: 0 / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1374, allocations: 4.078 kB / 0.5221 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1374, allocations: 4.266 kB / 0.5221 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1377, allocations: 224.2 kB / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.1377, allocations: 11.89 kB / 0.5223 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.1377, allocations: 3.938 kB / 0.5223 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.1378, allocations: 8.031 kB / 0.5223 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1379, allocations: 11.98 kB / 0.5223 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1379, allocations: 4.375 kB / 0.5223 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.138, allocations: 172.3 kB / 0.5225 GB, free: 356 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.138, allocations: 3.938 kB / 0.5225 GB, free: 352 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1383, allocations: 20 kB / 0.5225 GB, free: 332 kB / 398.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 (9): * Single equations (assignments): 7 * 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.002438/0.1407, allocations: 1.137 MB / 0.5236 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.141, allocations: 59.91 kB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.141, allocations: 0 / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.141, allocations: 31.92 kB / 0.5237 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1414, allocations: 31.67 kB / 0.5238 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1436, allocations: 1.747 MB / 0.5255 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.1437, allocations: 92.73 kB / 0.5256 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.1437, allocations: 16.78 kB / 0.5256 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.1438, allocations: 39.42 kB / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1438, allocations: 0 / 0.5256 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.1732, allocations: 4.23 MB / 0.5297 GB, free: 8.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.59, allocations: 7.984 kB / 0.5297 GB, free: 8.734 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.190981169231236]