Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 79.77 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1464, allocations: 62.45 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.004323/0.1507, allocations: 1.781 MB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1534, allocations: 1.596 MB / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1535, allocations: 0 / 483 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.154, allocations: 31.84 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.1545, allocations: 87.73 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1549, allocations: 67.81 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1551, allocations: 103.7 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1553, allocations: 15.98 kB / 483.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1554, allocations: 51.77 kB / 483.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1556, allocations: 55.7 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1556, allocations: 4 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.1559, allocations: 99.94 kB / 483.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.156, allocations: 23.86 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.156, allocations: 35.8 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1564, allocations: 171.8 kB / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1564, allocations: 0 / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1564, allocations: 0 / 483.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1564, allocations: 0 / 483.7 MB, free: 1.379 MB / 350.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.000712/0.1571, allocations: 423 kB / 484.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1572, allocations: 8.031 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.1573, allocations: 30.75 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.1573, allocations: 12.84 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1576, allocations: 220.3 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1577, allocations: 8 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1577, allocations: 7.938 kB / 484.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1579, allocations: 67.39 kB / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1579, allocations: 0 / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1579, allocations: 0 / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.158, allocations: 0 / 484.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.158, allocations: 23.92 kB / 484.5 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.1585, allocations: 288.9 kB / 484.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1587, allocations: 54.69 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1587, allocations: 20.84 kB / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.1588, allocations: 0 / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.1591, allocations: 75.33 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1591, allocations: 0 / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006905/0.1598, allocations: 181.1 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.1599, allocations: 81.05 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1601, allocations: 163.9 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1601, allocations: 25.7 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.1602, allocations: 100.1 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1602, allocations: 23.66 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.1603, allocations: 25.72 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1604, allocations: 322.8 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.1605, allocations: 23.92 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.1606, allocations: 42.56 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1607, allocations: 61.64 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1607, allocations: 32 / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.1609, allocations: 97.59 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.161, allocations: 4 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.161, allocations: 0 / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.161, allocations: 4.312 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.1611, allocations: 27.92 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1611, allocations: 0 / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.1612, allocations: 8 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1612, allocations: 0 / 486.1 MB, free: 14.74 MB / 366.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.0001261/0.1613, allocations: 128.2 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1614, allocations: 15.81 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.1614, allocations: 12.72 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1614, allocations: 3.938 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1614, allocations: 192 / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1614, allocations: 7.984 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1619, allocations: 399.4 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1619, allocations: 3.969 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.162, allocations: 15.94 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.162, allocations: 3.984 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.162, allocations: 4 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.162, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.162, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1623, allocations: 200.3 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.1623, allocations: 96.94 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1624, allocations: 0 / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1625, allocations: 8 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1625, allocations: 7.984 kB / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1625, allocations: 0 / 487 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1626, allocations: 130.5 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.826e-06/0.1627, allocations: 0 / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.163, allocations: 51.86 kB / 487.2 MB, free: 13.57 MB / 366.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.001751/0.1647, allocations: 1.173 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1649, allocations: 71.89 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.165, allocations: 0 / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.165, allocations: 31.92 kB / 488.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1654, allocations: 27.92 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1673, allocations: 1.605 MB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1677, allocations: 0.6973 MB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.1678, allocations: 25.17 kB / 490.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.1679, allocations: 35.41 kB / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1679, allocations: 0 / 490.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.1858, allocations: 3.844 MB / 494.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003592/0.1863, allocations: 252.8 kB / 494.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.158, allocations: 3 kB / 494.9 MB, free: 5.953 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches