Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8836/0.8836, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 442.2 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.125e-05, allocations: 10.16 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.1604/0.1604, allocations: 1.705 MB / 444 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1618, allocations: 1.671 MB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.1618, allocations: 0 / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.162, allocations: 41.62 kB / 445.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1623, allocations: 103.8 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.1624, allocations: 82.02 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1625, allocations: 112.9 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.1626, allocations: 2.625 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.1626, allocations: 62.59 kB / 446 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.1627, allocations: 35.41 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1627, allocations: 5.688 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1628, allocations: 108 kB / 446.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.1629, allocations: 18.19 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1629, allocations: 27.23 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1631, allocations: 176.8 kB / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1631, allocations: 0 / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1631, allocations: 0 / 446.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1631, allocations: 0.6562 kB / 446.4 MB, free: 42.54 MB / 410.7 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.0003322/0.1634, allocations: 356.8 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1634, allocations: 10.72 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.797e-05/0.1635, allocations: 30.75 kB / 446.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1635, allocations: 14.22 kB / 446.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.1637, allocations: 149.7 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1637, allocations: 4.078 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1637, allocations: 8.375 kB / 447 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1638, allocations: 102.9 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1638, allocations: 0 / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1638, allocations: 2.625 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.1638, allocations: 2.812 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.1639, allocations: 18.03 kB / 447.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.1641, allocations: 252.6 kB / 447.3 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/0.1642, allocations: 65.12 kB / 447.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.1642, allocations: 20.8 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.1642, allocations: 4.438 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.171e-05/0.1643, allocations: 68.25 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.92e-07/0.1643, allocations: 0 / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003311/0.1646, allocations: 182.1 kB / 447.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.1646, allocations: 77.11 kB / 447.7 MB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.697e-05/0.1647, allocations: 168 kB / 447.9 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1647, allocations: 28.52 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.1648, allocations: 102 kB / 448 MB, free: 41.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1648, allocations: 28.94 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.1648, allocations: 20.06 kB / 448.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.332e-05/0.1648, allocations: 324.9 kB / 448.4 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.1649, allocations: 26.91 kB / 448.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.1649, allocations: 77.11 kB / 448.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.1649, allocations: 59.38 kB / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1649, allocations: 0 / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.589e-05/0.165, allocations: 104.2 kB / 448.6 MB, free: 40.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1651, allocations: 4.531 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1651, allocations: 0 / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1651, allocations: 6.125 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.1651, allocations: 17.5 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1651, allocations: 6.812 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.1652, allocations: 6.688 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1652, allocations: 5.219 kB / 448.7 MB, free: 40.59 MB / 410.7 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 4.266e-05/0.1652, allocations: 132.8 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.1652, allocations: 9.859 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1653, allocations: 119.2 kB / 448.9 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1653, allocations: 3.094 kB / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1654, allocations: 0 / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1654, allocations: 0 / 449 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1656, allocations: 376.8 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1656, allocations: 2.938 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.1656, allocations: 8.719 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1656, allocations: 0 / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.1656, allocations: 6.656 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1656, allocations: 0 / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1656, allocations: 7.219 kB / 449.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1657, allocations: 210.5 kB / 449.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.1657, allocations: 10.14 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1657, allocations: 2.844 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.1658, allocations: 10.91 kB / 449.6 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.1658, allocations: 11.3 kB / 449.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1658, allocations: 2.781 kB / 449.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.1659, allocations: 135.8 kB / 449.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1659, allocations: 0 / 449.7 MB, free: 39.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.166, allocations: 54.62 kB / 449.8 MB, free: 39.77 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0009735/0.167, allocations: 1.231 MB / 451 MB, free: 38.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1671, allocations: 56.84 kB / 451.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1671, allocations: 0 / 451.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.922e-05/0.1672, allocations: 32.45 kB / 451.1 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1674, allocations: 32.02 kB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.1683, allocations: 1.613 MB / 452.7 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.1684, allocations: 86.86 kB / 452.8 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.1684, allocations: 17.62 kB / 452.8 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.1685, allocations: 35.84 kB / 452.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1685, allocations: 3.938 kB / 452.9 MB, free: 37.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.187, allocations: 4.903 MB / 457.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.8, allocations: 10.03 kB / 457.8 MB, free: 35.89 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.714895013719797]