Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001817/0.001817, allocations: 110.4 kB / 19.58 MB, free: 2.305 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.002327/0.002327, allocations: 220 kB / 22.88 MB, free: 5.633 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.384/1.384, allocations: 207.6 MB / 233.6 MB, free: 9.988 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.2175/0.2175, allocations: 44.25 MB / 330.1 MB, free: 9.566 MB / 270.1 MB " [Timeout remaining time 180] 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.002175/0.002175, allocations: 72.5 kB / 467.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.125, allocations: 61.04 MB / 0.5159 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003328/0.1284, allocations: 1.859 MB / 0.5177 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1299, allocations: 0.9246 MB / 0.5186 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.027e-05/0.13, allocations: 11.94 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.1304, allocations: 159.5 kB / 0.5188 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1307, allocations: 135.5 kB / 0.5189 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1311, allocations: 151.7 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1314, allocations: 215.4 kB / 0.5193 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1315, allocations: 21.61 kB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1316, allocations: 107.6 kB / 0.5194 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1318, allocations: 143.5 kB / 0.5195 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1319, allocations: 8 kB / 0.5195 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.132, allocations: 43.97 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.132, allocations: 43.84 kB / 0.5196 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.1321, allocations: 83.34 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.1324, allocations: 195.1 kB / 0.5199 GB, free: 3.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1324, allocations: 0 / 0.5199 GB, free: 3.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1324, allocations: 0 / 0.5199 GB, free: 3.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1324, allocations: 0 / 0.5199 GB, free: 3.309 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007545/0.1332, allocations: 460.8 kB / 0.5203 GB, free: 2.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1332, allocations: 8.031 kB / 0.5203 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.1333, allocations: 34.73 kB / 0.5204 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.1333, allocations: 32.69 kB / 0.5204 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1337, allocations: 201.5 kB / 0.5206 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1337, allocations: 8.375 kB / 0.5206 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1337, allocations: 7.938 kB / 0.5206 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1339, allocations: 99.34 kB / 0.5207 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1339, allocations: 3.938 kB / 0.5207 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1339, allocations: 4 kB / 0.5207 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1339, allocations: 3.938 kB / 0.5207 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1341, allocations: 39.97 kB / 0.5207 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1346, allocations: 412 kB / 0.5211 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.1348, allocations: 113.3 kB / 0.5212 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.1349, allocations: 33.7 kB / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.135, allocations: 4 kB / 0.5213 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.1352, allocations: 120.9 kB / 0.5214 GB, free: 1.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.1352, allocations: 0 / 0.5214 GB, free: 1.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008958/0.1361, allocations: 364.7 kB / 0.5217 GB, free: 1.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.1362, allocations: 81.05 kB / 0.5218 GB, free: 1.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1366, allocations: 360.2 kB / 0.5222 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1366, allocations: 29.7 kB / 0.5222 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1367, allocations: 144.4 kB / 0.5223 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.1368, allocations: 51.59 kB / 0.5224 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.1368, allocations: 37.64 kB / 0.5224 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.137, allocations: 338.8 kB / 0.5227 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1371, allocations: 39.97 kB / 0.5228 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1372, allocations: 75.41 kB / 0.5228 GB, free: 32 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.1375, allocations: 115.6 kB / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1375, allocations: 4 kB / 0.523 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003371/0.1378, allocations: 189.3 kB / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1378, allocations: 4 kB / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1379, allocations: 0 / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1379, allocations: 4 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.138, allocations: 35.92 kB / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.138, allocations: 4 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.1381, allocations: 4 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1381, allocations: 11.98 kB / 0.5232 GB, free: 15.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001645/0.1383, allocations: 153.8 kB / 0.5234 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1383, allocations: 27.89 kB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.1388, allocations: 207.4 kB / 0.5236 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1388, allocations: 7.938 kB / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1388, allocations: 0 / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1388, allocations: 0 / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.1396, allocations: 0.592 MB / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1396, allocations: 0 / 0.5242 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.1397, allocations: 23.97 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1397, allocations: 4 kB / 0.5242 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1397, allocations: 4.75 kB / 0.5242 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1397, allocations: 7.938 kB / 0.5242 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1397, allocations: 3.938 kB / 0.5242 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.1401, allocations: 368.3 kB / 0.5246 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.1401, allocations: 15.86 kB / 0.5246 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1402, allocations: 15.98 kB / 0.5246 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.1403, allocations: 7.938 kB / 0.5246 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.1404, allocations: 19.92 kB / 0.5246 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1404, allocations: 7.984 kB / 0.5246 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1407, allocations: 271 kB / 0.5249 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5249 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.141, allocations: 35.94 kB / 0.5249 GB, free: 13.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002357/0.1433, allocations: 1.25 MB / 0.5261 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.1437, allocations: 108 kB / 0.5262 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1437, allocations: 0 / 0.5262 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1438, allocations: 56.38 kB / 0.5263 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.1443, allocations: 57.02 kB / 0.5263 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.1473, allocations: 2.47 MB / 0.5288 GB, free: 9.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.1474, allocations: 140.2 kB / 0.5289 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.373e-05/0.1475, allocations: 29.88 kB / 0.5289 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1476, allocations: 79.41 kB / 0.529 GB, free: 9.512 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1476, allocations: 0 / 0.529 GB, free: 9.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.1791, allocations: 5.642 MB / 0.5345 GB, free: 3.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.29, allocations: 4.188 kB / 0.5345 GB, free: 3.77 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.439768468029797]