Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 113 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.18 MB / 336.2 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 68.92 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1517, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003716/0.1554, allocations: 1.761 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.157, allocations: 0.8692 MB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.1571, allocations: 0 / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1574, allocations: 35.89 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1577, allocations: 47.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1581, allocations: 91.77 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1583, allocations: 99.69 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.1584, allocations: 12.23 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1585, allocations: 43.78 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.1586, allocations: 31.84 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1586, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1587, allocations: 43.92 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.1588, allocations: 19.92 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.1588, allocations: 31.75 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1591, allocations: 115.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1591, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1591, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1591, allocations: 0 / 472 MB, free: 11.41 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.0006969/0.1598, allocations: 411 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1598, allocations: 8.031 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1599, allocations: 34.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1599, allocations: 8.844 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1601, allocations: 215.9 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1602, allocations: 4.375 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1602, allocations: 7.938 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1603, allocations: 53.67 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1604, allocations: 4 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1604, allocations: 0 / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1604, allocations: 4 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.1605, allocations: 15.98 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.1609, allocations: 284.8 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.161, allocations: 62.67 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.1611, allocations: 20.84 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1611, allocations: 7.938 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1613, allocations: 71.33 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1613, allocations: 0 / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005285/0.1619, allocations: 173.2 kB / 473.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1619, allocations: 63.34 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1621, allocations: 186.1 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1621, allocations: 25.7 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.1622, allocations: 104.1 kB / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1623, allocations: 23.7 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1623, allocations: 25.72 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.1624, allocations: 326.8 kB / 474.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.1625, allocations: 23.98 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.1626, allocations: 37.7 kB / 474.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1627, allocations: 57.66 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1627, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.1629, allocations: 101.5 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1629, allocations: 4 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1629, allocations: 0 / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.163, allocations: 4 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.1631, allocations: 23.95 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1631, allocations: 0 / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.1631, allocations: 7.938 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1632, allocations: 4 kB / 474.4 MB, free: 8.809 MB / 350.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.0001295/0.1633, allocations: 129.8 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.1633, allocations: 7.906 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1634, allocations: 12.72 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1634, allocations: 4 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1634, allocations: 4 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1634, allocations: 3.938 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.1639, allocations: 391.3 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1639, allocations: 4 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1639, allocations: 4 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1639, allocations: 7.938 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1639, allocations: 0 / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.164, allocations: 0 / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.164, allocations: 11.97 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1642, allocations: 208.4 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1643, allocations: 85 kB / 475.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1643, allocations: 8.312 kB / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.1644, allocations: 0 / 475.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.1644, allocations: 11.98 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1644, allocations: 12 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1646, allocations: 139.2 kB / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1646, allocations: 0 / 475.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1649, allocations: 27.98 kB / 475.4 MB, free: 7.648 MB / 350.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.00145/0.1664, allocations: 1.1 MB / 476.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.1666, allocations: 63.91 kB / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1666, allocations: 0 / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.1667, allocations: 39.98 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.167, allocations: 19.98 kB / 476.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.1693, allocations: 1.65 MB / 478.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1696, allocations: 0.7041 MB / 479 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.1697, allocations: 17.17 kB / 479 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.1698, allocations: 31.42 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1698, allocations: 4 kB / 479.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.1842, allocations: 3.214 MB / 482.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.1845, allocations: 232.7 kB / 482.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.085, allocations: 3.938 kB / 482.5 MB, free: 0.7031 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches