Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.00119/0.00119, allocations: 116.7 kB / 18.5 MB, free: 4.582 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.001409/0.001409, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.465/1.465, allocations: 225.6 MB / 249.8 MB, free: 3.719 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.2466/0.2466, allocations: 44.91 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 70.97 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1417, allocations: 64.26 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003498/0.1452, allocations: 1.792 MB / 0.5448 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1468, allocations: 0.982 MB / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.1469, allocations: 0 / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.1475, allocations: 303.3 kB / 0.5461 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1479, allocations: 211.4 kB / 0.5463 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.1484, allocations: 171.1 kB / 0.5464 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.1487, allocations: 243.4 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.685e-05/0.1488, allocations: 5.562 kB / 0.5467 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.149, allocations: 135.5 kB / 0.5468 GB, free: 180 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.1493, allocations: 211.6 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1493, allocations: 11.98 kB / 0.547 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1494, allocations: 47.86 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1496, allocations: 139.5 kB / 0.5472 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1497, allocations: 146.8 kB / 0.5473 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.1502, allocations: 362.5 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1502, allocations: 0 / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1502, allocations: 0 / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1502, allocations: 0 / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00105/0.1512, allocations: 0.7577 MB / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.1513, allocations: 12.03 kB / 0.5484 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1513, allocations: 38.73 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.1514, allocations: 48.61 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.1521, allocations: 448.4 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1521, allocations: 8.359 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1522, allocations: 7.938 kB / 0.549 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.1524, allocations: 83.31 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1524, allocations: 0 / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1524, allocations: 7.984 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1524, allocations: 4 kB / 0.549 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1525, allocations: 27.98 kB / 0.5491 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.1529, allocations: 366.4 kB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1532, allocations: 113.1 kB / 0.5495 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/0.1533, allocations: 37.69 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.1533, allocations: 4 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1536, allocations: 101 kB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1536, allocations: 8 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004912/0.1541, allocations: 205.6 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.1541, allocations: 85.09 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.1554, allocations: 1.03 MB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1554, allocations: 33.69 kB / 0.551 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1556, allocations: 228.1 kB / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1556, allocations: 31.77 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.1557, allocations: 33.72 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1559, allocations: 366.8 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.156, allocations: 27.98 kB / 0.5516 GB, free: 10.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1561, allocations: 59.36 kB / 0.5517 GB, free: 10.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1563, allocations: 91.41 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1563, allocations: 7.875 kB / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003146/0.1566, allocations: 169.2 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1566, allocations: 4 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1566, allocations: 4 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1566, allocations: 0 / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1567, allocations: 19.98 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1567, allocations: 4.062 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.1568, allocations: 23.86 kB / 0.552 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1569, allocations: 4 kB / 0.552 GB, free: 10.53 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002296/0.1571, allocations: 225.7 kB / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.1572, allocations: 55.61 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.1572, allocations: 60 kB / 0.5523 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1572, allocations: 4 kB / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1573, allocations: 256 / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1573, allocations: 0 / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.1576, allocations: 349.4 kB / 0.5527 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1576, allocations: 0 / 0.5527 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1576, allocations: 4 kB / 0.5527 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1576, allocations: 4 kB / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1577, allocations: 0 / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1577, allocations: 0 / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1577, allocations: 7.938 kB / 0.5527 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.158, allocations: 205.5 kB / 0.5529 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.1582, allocations: 140.8 kB / 0.553 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1582, allocations: 0 / 0.553 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.1583, allocations: 7.938 kB / 0.553 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.1583, allocations: 11.98 kB / 0.553 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1584, allocations: 4 kB / 0.553 GB, free: 9.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008636/0.1592, allocations: 0.7721 MB / 0.5538 GB, free: 8.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1592, allocations: 0 / 0.5538 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1595, allocations: 43.94 kB / 0.5538 GB, free: 8.562 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002021/0.1615, allocations: 1.067 MB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1618, allocations: 75.97 kB / 0.555 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1618, allocations: 4.062 kB / 0.555 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1619, allocations: 39.91 kB / 0.555 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1623, allocations: 63.58 kB / 0.5551 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/0.1685, allocations: 4.531 MB / 0.5595 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.169, allocations: 0.8465 MB / 0.5603 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1692, allocations: 63.44 kB / 0.5604 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.1694, allocations: 143.4 kB / 0.5605 GB, free: 1.75 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1694, allocations: 0 / 0.5605 GB, free: 1.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.2032, allocations: 8.974 MB / 0.5693 GB, free: 8.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.729, allocations: 6.812 kB / 0.5693 GB, free: 8.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.988639738410711]