Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001258/0.001258, allocations: 117.6 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.001409/0.001409, allocations: 190.9 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.517/1.517, allocations: 225.6 MB / 249.8 MB, free: 3.762 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.2327/0.2327, allocations: 44.91 MB / 349.6 MB, free: 1.855 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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 70.11 kB / 491.9 MB, free: 30.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1492, allocations: 64.27 MB / 0.5431 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004163/0.1534, allocations: 1.711 MB / 0.5448 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.156, allocations: 1.495 MB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1561, allocations: 4 kB / 0.5462 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1565, allocations: 43.7 kB / 0.5463 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1568, allocations: 59.7 kB / 0.5463 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1572, allocations: 107.6 kB / 0.5464 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1574, allocations: 91.75 kB / 0.5465 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1575, allocations: 16.5 kB / 0.5465 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1577, allocations: 39.8 kB / 0.5466 GB, free: 484 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1578, allocations: 35.83 kB / 0.5466 GB, free: 448 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1578, allocations: 7.938 kB / 0.5466 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.158, allocations: 67.95 kB / 0.5467 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1581, allocations: 15.98 kB / 0.5467 GB, free: 356 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1581, allocations: 31.75 kB / 0.5467 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1584, allocations: 123.5 kB / 0.5468 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1584, allocations: 0 / 0.5468 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1584, allocations: 0 / 0.5468 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1584, allocations: 0 / 0.5468 GB, free: 200 kB / 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.0006648/0.1591, allocations: 408.5 kB / 0.5472 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1591, allocations: 12.03 kB / 0.5472 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.1592, allocations: 42.73 kB / 0.5473 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.1592, allocations: 8.891 kB / 0.5473 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1596, allocations: 208.2 kB / 0.5475 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1596, allocations: 4.375 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1596, allocations: 7.875 kB / 0.5475 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1598, allocations: 67.39 kB / 0.5476 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1598, allocations: 3.984 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1598, allocations: 0 / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1598, allocations: 8 kB / 0.5476 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.1599, allocations: 15.98 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1603, allocations: 280.9 kB / 0.5479 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1605, allocations: 58.61 kB / 0.5479 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.1605, allocations: 16.86 kB / 0.5479 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1605, allocations: 8 kB / 0.5479 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1607, allocations: 63.39 kB / 0.548 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1607, allocations: 3.938 kB / 0.548 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005602/0.1613, allocations: 177.3 kB / 0.5482 GB, free: 14.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.1614, allocations: 81.09 kB / 0.5482 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1615, allocations: 155.5 kB / 0.5484 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1615, allocations: 33.7 kB / 0.5484 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.1616, allocations: 96.12 kB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1616, allocations: 19.86 kB / 0.5485 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.1617, allocations: 29.64 kB / 0.5486 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1618, allocations: 318.8 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1619, allocations: 19.98 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.162, allocations: 42.56 kB / 0.5489 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1621, allocations: 61.73 kB / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1621, allocations: 0 / 0.549 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.1623, allocations: 97.58 kB / 0.5491 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1623, allocations: 4 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1623, allocations: 3.938 kB / 0.5491 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1623, allocations: 4 kB / 0.5491 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.1624, allocations: 15.98 kB / 0.5491 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1624, allocations: 7.969 kB / 0.5491 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.1625, allocations: 11.94 kB / 0.5491 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1625, allocations: 0 / 0.5491 GB, free: 13.59 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.0001063/0.1626, allocations: 121.8 kB / 0.5492 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.1626, allocations: 11.91 kB / 0.5493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.1627, allocations: 12.72 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1627, allocations: 0 / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1627, allocations: 0 / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1627, allocations: 7.938 kB / 0.5493 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1632, allocations: 399.4 kB / 0.5497 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1632, allocations: 4 kB / 0.5497 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.1632, allocations: 8 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1632, allocations: 3.938 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1632, allocations: 0 / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1632, allocations: 0 / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1632, allocations: 7.984 kB / 0.5497 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1635, allocations: 204.3 kB / 0.5499 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1636, allocations: 85.06 kB / 0.55 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1636, allocations: 12.12 kB / 0.55 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.1637, allocations: 0 / 0.55 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1637, allocations: 12.3 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1637, allocations: 4 kB / 0.55 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1638, allocations: 117.3 kB / 0.5501 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 4 kB / 0.5501 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1641, allocations: 27.94 kB / 0.5501 GB, free: 12.46 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.002438/0.1666, allocations: 1.144 MB / 0.5512 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1668, allocations: 67.88 kB / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1668, allocations: 0 / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.1668, allocations: 23.98 kB / 0.5513 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1672, allocations: 27.92 kB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1691, allocations: 1.547 MB / 0.5529 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.1694, allocations: 0.7002 MB / 0.5535 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.1695, allocations: 12.88 kB / 0.5536 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.1696, allocations: 35.41 kB / 0.5536 GB, free: 8.98 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1696, allocations: 0 / 0.5536 GB, free: 8.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.1987, allocations: 3.575 MB / 0.5571 GB, free: 5.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.076, allocations: 15.38 kB / 0.5571 GB, free: 5.379 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.330548787955195]