Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001744/0.001744, allocations: 117.6 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.001709/0.001709, allocations: 190.9 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.453/1.453, 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.2272/0.2272, allocations: 44.92 MB / 349.6 MB, free: 1.734 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 65.5 kB / 491.8 MB, free: 29.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 64.27 MB / 0.5431 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003269/0.1462, allocations: 1.799 MB / 0.5448 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1487, allocations: 1.577 MB / 0.5464 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1488, allocations: 3.938 kB / 0.5464 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1491, allocations: 47.77 kB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1494, allocations: 91.53 kB / 0.5465 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.1499, allocations: 175.1 kB / 0.5467 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.1502, allocations: 187.4 kB / 0.5468 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.1502, allocations: 5.562 kB / 0.5469 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1504, allocations: 83.56 kB / 0.5469 GB, free: 48 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1506, allocations: 67.69 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1507, allocations: 8 kB / 0.547 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1508, allocations: 67.95 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.1509, allocations: 35.8 kB / 0.5471 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.556e-05/0.151, allocations: 51.66 kB / 0.5472 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1513, allocations: 171.5 kB / 0.5473 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1513, allocations: 8 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1513, allocations: 0 / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1513, allocations: 0 / 0.5473 GB, free: 15.64 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.000729/0.152, allocations: 478.3 kB / 0.5478 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1521, allocations: 12.03 kB / 0.5478 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1521, allocations: 34.73 kB / 0.5478 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1521, allocations: 20.78 kB / 0.5478 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.1526, allocations: 240.7 kB / 0.5481 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1526, allocations: 12.31 kB / 0.5481 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1526, allocations: 7.938 kB / 0.5481 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1528, allocations: 101 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1528, allocations: 0 / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1528, allocations: 4 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1528, allocations: 0 / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.153, allocations: 31.97 kB / 0.5482 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.1532, allocations: 210.5 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1535, allocations: 109.1 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.746e-05/0.1536, allocations: 37.7 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1536, allocations: 4 kB / 0.5486 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.1539, allocations: 105 kB / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1539, allocations: 0 / 0.5487 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004682/0.1543, allocations: 173.9 kB / 0.5488 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.1544, allocations: 128.5 kB / 0.549 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1547, allocations: 219.8 kB / 0.5492 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1547, allocations: 25.7 kB / 0.5492 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.1548, allocations: 116.1 kB / 0.5493 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1549, allocations: 23.84 kB / 0.5493 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.1549, allocations: 25.72 kB / 0.5493 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1551, allocations: 338.8 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.1552, allocations: 23.98 kB / 0.5497 GB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1553, allocations: 65.08 kB / 0.5498 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1555, allocations: 95.5 kB / 0.5498 GB, free: 12.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1555, allocations: 7.875 kB / 0.5499 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.1558, allocations: 133.5 kB / 0.55 GB, free: 12.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1558, allocations: 8 kB / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1558, allocations: 0 / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1558, allocations: 0 / 0.55 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1559, allocations: 23.98 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.156, allocations: 3.938 kB / 0.55 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.156, allocations: 19.94 kB / 0.55 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1561, allocations: 8 kB / 0.55 GB, free: 12.54 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000122/0.1562, allocations: 129.8 kB / 0.5502 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1562, allocations: 23.83 kB / 0.5502 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.1563, allocations: 17 kB / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1563, allocations: 3.938 kB / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1563, allocations: 0 / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1563, allocations: 0 / 0.5502 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.1565, allocations: 225.5 kB / 0.5504 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1565, allocations: 8 kB / 0.5504 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.1565, allocations: 4.125 kB / 0.5504 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1565, allocations: 0 / 0.5504 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1566, allocations: 8 kB / 0.5504 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1566, allocations: 7.922 kB / 0.5505 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1566, allocations: 0 / 0.5505 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1569, allocations: 173.7 kB / 0.5506 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.1569, allocations: 96.95 kB / 0.5507 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.157, allocations: 0 / 0.5507 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.1571, allocations: 11.98 kB / 0.5507 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1571, allocations: 7.984 kB / 0.5507 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1571, allocations: 4 kB / 0.5507 GB, free: 11.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1573, allocations: 156.2 kB / 0.5509 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1573, allocations: 0 / 0.5509 GB, free: 11.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1575, allocations: 43.92 kB / 0.5509 GB, free: 11.54 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002105/0.1596, allocations: 1.06 MB / 0.552 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1599, allocations: 75.91 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1599, allocations: 0 / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.16, allocations: 35.92 kB / 0.5521 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1604, allocations: 63.7 kB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1627, allocations: 1.814 MB / 0.5539 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.163, allocations: 0.7164 MB / 0.5546 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.1631, allocations: 29.53 kB / 0.5546 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.1632, allocations: 47.41 kB / 0.5547 GB, free: 7.73 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1632, allocations: 4 kB / 0.5547 GB, free: 7.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.1939, allocations: 4.728 MB / 0.5593 GB, free: 3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.484, allocations: 12.84 kB / 0.5593 GB, free: 2.988 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.492047796025872]