Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001377/0.001377, allocations: 106.5 kB / 17.33 MB, free: 5.992 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.00155/0.00155, allocations: 189.3 kB / 18.25 MB, free: 5.086 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.468/1.468, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2385/0.2385, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 72.55 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003961/0.1554, allocations: 1.769 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1569, allocations: 0.8653 MB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.157, allocations: 3.938 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.1574, allocations: 27.91 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1577, allocations: 51.81 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1581, allocations: 95.14 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1582, allocations: 95.7 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1584, allocations: 20.22 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1585, allocations: 39.78 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.1586, allocations: 31.86 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1586, allocations: 4 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1587, allocations: 39.98 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.1588, allocations: 23.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.1588, allocations: 39.67 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1591, allocations: 111.9 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1591, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1591, allocations: 0 / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1591, allocations: 4 kB / 472 MB, free: 11.42 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.0007137/0.1598, allocations: 407 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.1599, allocations: 8.031 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.16, allocations: 38.73 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.16, allocations: 8.844 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1604, allocations: 212 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1604, allocations: 8.359 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1604, allocations: 3.938 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1606, allocations: 57.67 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1606, allocations: 0 / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1607, allocations: 0 / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1607, allocations: 4 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.669e-05/0.1608, allocations: 15.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1612, allocations: 288.9 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1615, allocations: 58.62 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.1615, allocations: 28.78 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1616, allocations: 0 / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.1619, allocations: 63.39 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1619, allocations: 0 / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000621/0.1625, allocations: 173.2 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1626, allocations: 59.41 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1627, allocations: 190.1 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1628, allocations: 29.7 kB / 473.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.1628, allocations: 108 kB / 473.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.1629, allocations: 23.7 kB / 473.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1629, allocations: 17.72 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1631, allocations: 326.8 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.1631, allocations: 23.98 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.1632, allocations: 37.7 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1633, allocations: 65.69 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1633, allocations: 0 / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.1635, allocations: 97.44 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1635, allocations: 4 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1636, allocations: 4 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1636, allocations: 4.031 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.1637, allocations: 15.98 kB / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1637, allocations: 384 / 474.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.1637, allocations: 15.88 kB / 474.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1638, allocations: 4 kB / 474.4 MB, free: 8.82 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.0001233/0.1639, allocations: 129 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1639, allocations: 11.91 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.164, allocations: 16.7 kB / 474.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.164, allocations: 4 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.164, allocations: 4 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.164, allocations: 3.938 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1645, allocations: 387.3 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1645, allocations: 4 kB / 474.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.1645, allocations: 8 kB / 474.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1645, allocations: 3.938 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1646, allocations: 0 / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.1646, allocations: 3.984 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1646, allocations: 11.97 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1649, allocations: 204.4 kB / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.1649, allocations: 81.02 kB / 475.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.165, allocations: 11.94 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.1651, allocations: 0 / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.1651, allocations: 7.984 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1651, allocations: 8 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1653, allocations: 143.2 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 192 / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1656, allocations: 24 kB / 475.4 MB, free: 7.668 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.001757/0.1673, allocations: 1.111 MB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1676, allocations: 55.92 kB / 476.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1676, allocations: 0 / 476.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.1677, allocations: 32.05 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.168, allocations: 26.42 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.17, allocations: 1.65 MB / 478.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.1705, allocations: 0.7002 MB / 479 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.1706, allocations: 17.19 kB / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.1707, allocations: 43.36 kB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1707, allocations: 0 / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1847, allocations: 3.207 MB / 482.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.185, allocations: 232.7 kB / 482.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.036, allocations: 3.938 kB / 482.5 MB, free: 0.7188 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches