Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001154/0.001154, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001789/0.001789, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.475/1.475, allocations: 225.6 MB / 249.9 MB, free: 3.578 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.2307/0.2307, allocations: 44.91 MB / 349.6 MB, free: 1.699 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.16 kB / 491.9 MB, free: 29.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 64.25 MB / 0.5431 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003541/0.1448, allocations: 1.718 MB / 0.5448 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1465, allocations: 0.8885 MB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1465, allocations: 7.938 kB / 0.5456 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1468, allocations: 31.84 kB / 0.5457 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1471, allocations: 63.69 kB / 0.5457 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1474, allocations: 99.67 kB / 0.5458 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.1476, allocations: 99.69 kB / 0.5459 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1477, allocations: 4.516 kB / 0.5459 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.1478, allocations: 47.77 kB / 0.546 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.1479, allocations: 35.8 kB / 0.546 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1479, allocations: 4 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.148, allocations: 43.98 kB / 0.546 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1481, allocations: 27.91 kB / 0.5461 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1481, allocations: 31.75 kB / 0.5461 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1484, allocations: 111.5 kB / 0.5462 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1484, allocations: 3.938 kB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1484, allocations: 0 / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1484, allocations: 3.938 kB / 0.5462 GB, free: 0.7656 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.00064/0.149, allocations: 414.7 kB / 0.5466 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.149, allocations: 12.03 kB / 0.5466 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.1491, allocations: 38.69 kB / 0.5467 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.1491, allocations: 8.891 kB / 0.5467 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1495, allocations: 208.2 kB / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1495, allocations: 384 / 0.5469 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.1495, allocations: 8.141 kB / 0.5469 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1497, allocations: 57.61 kB / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1497, allocations: 0 / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1497, allocations: 0 / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1497, allocations: 0 / 0.5469 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.1498, allocations: 23.98 kB / 0.547 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.1502, allocations: 288.8 kB / 0.5472 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1504, allocations: 62.61 kB / 0.5473 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.1505, allocations: 20.84 kB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1505, allocations: 0 / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1507, allocations: 67.39 kB / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1507, allocations: 0 / 0.5474 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005705/0.1512, allocations: 181.6 kB / 0.5475 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1513, allocations: 51.41 kB / 0.5476 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1515, allocations: 182.2 kB / 0.5478 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1515, allocations: 29.7 kB / 0.5478 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.1516, allocations: 104.1 kB / 0.5479 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1516, allocations: 27.78 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.1517, allocations: 21.72 kB / 0.5479 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1518, allocations: 326.8 kB / 0.5483 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.1519, allocations: 23.98 kB / 0.5483 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.152, allocations: 37.64 kB / 0.5483 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1521, allocations: 69.83 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1521, allocations: 0 / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.1523, allocations: 105.5 kB / 0.5485 GB, free: 14.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1523, allocations: 8 kB / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1523, allocations: 0 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1523, allocations: 192 / 0.5485 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.1524, allocations: 15.98 kB / 0.5485 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1524, allocations: 7.938 kB / 0.5485 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1525, allocations: 7.875 kB / 0.5485 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.1525, allocations: 8.031 kB / 0.5485 GB, free: 14.14 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.0001178/0.1526, allocations: 125.8 kB / 0.5486 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1526, allocations: 15.89 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1527, allocations: 16.72 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1527, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1527, allocations: 0 / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1527, allocations: 3.938 kB / 0.5487 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.1532, allocations: 395.3 kB / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1532, allocations: 0 / 0.5491 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.1533, allocations: 11.98 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1533, allocations: 0 / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1533, allocations: 3.938 kB / 0.5491 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1533, allocations: 4 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1533, allocations: 0 / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.1535, allocations: 200.4 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.1536, allocations: 89.02 kB / 0.5494 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1536, allocations: 11.86 kB / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1537, allocations: 0 / 0.5494 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1537, allocations: 8 kB / 0.5494 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1537, allocations: 7.984 kB / 0.5494 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1539, allocations: 144.1 kB / 0.5495 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1539, allocations: 0 / 0.5495 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000305/0.1542, allocations: 23.98 kB / 0.5495 GB, free: 13 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.002227/0.1564, allocations: 1.109 MB / 0.5506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1566, allocations: 55.97 kB / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1566, allocations: 0 / 0.5507 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1567, allocations: 23.94 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1571, allocations: 27.97 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1591, allocations: 1.632 MB / 0.5523 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1595, allocations: 0.7002 MB / 0.553 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.1596, allocations: 17.19 kB / 0.553 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.1597, allocations: 39.42 kB / 0.5531 GB, free: 9.449 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1597, allocations: 0 / 0.5531 GB, free: 9.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.1883, allocations: 3.39 MB / 0.5564 GB, free: 6.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.163, allocations: 19.86 kB / 0.5564 GB, free: 6.078 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.273550846148282]