Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 114.4 kB / 18.5 MB, free: 4.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 194.7 kB / 21.44 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.92 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 66.38 kB / 491.9 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 64.25 MB / 0.5431 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003379/0.1394, allocations: 1.712 MB / 0.5448 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.141, allocations: 0.8846 MB / 0.5456 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.1411, allocations: 3.938 kB / 0.5456 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1414, allocations: 31.83 kB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1416, allocations: 67.69 kB / 0.5457 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1419, allocations: 111.2 kB / 0.5458 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1421, allocations: 91.75 kB / 0.5459 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.1422, allocations: 12.45 kB / 0.5459 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.1422, allocations: 43.78 kB / 0.546 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.1423, allocations: 31.84 kB / 0.546 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1423, allocations: 4 kB / 0.546 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.25e-05/0.1424, allocations: 39.98 kB / 0.546 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.1425, allocations: 27.91 kB / 0.5461 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.1426, allocations: 31.75 kB / 0.5461 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1428, allocations: 119.4 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1428, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1428, allocations: 0 / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1428, allocations: 0 / 0.5462 GB, free: 0.7891 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.0006149/0.1434, allocations: 410.8 kB / 0.5466 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1434, allocations: 8.031 kB / 0.5466 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.1435, allocations: 30.75 kB / 0.5466 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1435, allocations: 16.84 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1438, allocations: 204.2 kB / 0.5468 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1438, allocations: 12.36 kB / 0.5469 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1438, allocations: 3.938 kB / 0.5469 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.144, allocations: 57.72 kB / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.144, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.144, allocations: 0 / 0.5469 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.144, allocations: 4 kB / 0.5469 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.1441, allocations: 15.98 kB / 0.5469 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.1445, allocations: 284.9 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1447, allocations: 66.61 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1447, allocations: 16.86 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1448, allocations: 3.828 kB / 0.5473 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1449, allocations: 67.38 kB / 0.5474 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1449, allocations: 8 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005369/0.1455, allocations: 161.7 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1455, allocations: 55.41 kB / 0.5476 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1457, allocations: 178.4 kB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1457, allocations: 29.7 kB / 0.5478 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1458, allocations: 96.14 kB / 0.5479 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.1458, allocations: 31.73 kB / 0.5479 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1458, allocations: 17.72 kB / 0.5479 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.146, allocations: 334.8 kB / 0.5482 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.1461, allocations: 20.05 kB / 0.5482 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.1461, allocations: 41.64 kB / 0.5483 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1462, allocations: 65.77 kB / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1462, allocations: 0 / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1464, allocations: 101.6 kB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1464, allocations: 4 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1465, allocations: 4 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1465, allocations: 0 / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.1466, allocations: 19.98 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1466, allocations: 0 / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.1466, allocations: 7.938 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1466, allocations: 4 kB / 0.5485 GB, free: 14.21 MB / 414.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.0001117/0.1467, allocations: 129.8 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.1468, allocations: 15.94 kB / 0.5486 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.1468, allocations: 12.72 kB / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1468, allocations: 0 / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1468, allocations: 0 / 0.5486 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1468, allocations: 7.922 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.1473, allocations: 387.3 kB / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1473, allocations: 0 / 0.549 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.1473, allocations: 8 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1473, allocations: 7.969 kB / 0.549 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1473, allocations: 4 kB / 0.549 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1473, allocations: 7.938 kB / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1473, allocations: 0 / 0.549 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.1476, allocations: 196.3 kB / 0.5492 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1476, allocations: 89 kB / 0.5493 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1476, allocations: 11.94 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1477, allocations: 4 kB / 0.5493 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1477, allocations: 7.984 kB / 0.5493 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1478, allocations: 4 kB / 0.5493 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1479, allocations: 131.2 kB / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1479, allocations: 0 / 0.5495 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1481, allocations: 23.94 kB / 0.5495 GB, free: 13.08 MB / 414.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.002095/0.1502, allocations: 1.109 MB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1504, allocations: 63.95 kB / 0.5506 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1504, allocations: 3.938 kB / 0.5506 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.1505, allocations: 23.94 kB / 0.5507 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1508, allocations: 27.48 kB / 0.5507 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1527, allocations: 1.608 MB / 0.5523 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1531, allocations: 0.7002 MB / 0.5529 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.1532, allocations: 9.203 kB / 0.5529 GB, free: 9.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1532, allocations: 31.42 kB / 0.553 GB, free: 9.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1532, allocations: 0 / 0.553 GB, free: 9.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.1809, allocations: 3.35 MB / 0.5562 GB, free: 6.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.013, allocations: 7.984 kB / 0.5563 GB, free: 6.23 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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: 11.117741866968572]