Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.00126/0.00126, allocations: 104 kB / 15.98 MB, free: 6.348 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.001191/0.001191, allocations: 192.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3978/0.3978, allocations: 43.5 MB / 313.6 MB, free: 8.477 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 67.91 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1556, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003738/0.1594, allocations: 1.838 MB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1616, allocations: 1.445 MB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.1617, allocations: 3.938 kB / 443.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.162, allocations: 55.81 kB / 443.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1623, allocations: 75.67 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1627, allocations: 131.8 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.1629, allocations: 175.5 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.163, allocations: 25.53 kB / 443.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1632, allocations: 79.58 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1634, allocations: 79.61 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1634, allocations: 8 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1636, allocations: 63.97 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.1636, allocations: 27.91 kB / 444.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.1637, allocations: 71.53 kB / 444.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.1639, allocations: 163.8 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.164, allocations: 4 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.164, allocations: 0 / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.164, allocations: 0 / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006889/0.1647, allocations: 470.6 kB / 444.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1647, allocations: 19.88 kB / 444.8 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.1648, allocations: 30.75 kB / 444.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.1648, allocations: 16.75 kB / 444.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.1652, allocations: 247.6 kB / 445.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1652, allocations: 8.375 kB / 445.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1653, allocations: 3.938 kB / 445.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.1655, allocations: 101.1 kB / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1655, allocations: 0 / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1655, allocations: 0 / 445.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.1656, allocations: 4 kB / 445.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1657, allocations: 35.91 kB / 445.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.1659, allocations: 210.6 kB / 445.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1662, allocations: 113.1 kB / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.585e-05/0.1663, allocations: 37.7 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1663, allocations: 11.92 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1665, allocations: 112.9 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1665, allocations: 0 / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004367/0.167, allocations: 165.4 kB / 445.9 MB, free: 8.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.1671, allocations: 128.5 kB / 446 MB, free: 8.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1673, allocations: 215.8 kB / 446.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1673, allocations: 25.7 kB / 446.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.1674, allocations: 124.1 kB / 446.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1674, allocations: 31.62 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.1675, allocations: 29.7 kB / 446.4 MB, free: 7.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1676, allocations: 322.8 kB / 446.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.1677, allocations: 27.98 kB / 446.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1678, allocations: 73.12 kB / 446.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.168, allocations: 87.36 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.168, allocations: 3.938 kB / 446.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.1682, allocations: 134 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1683, allocations: 8 kB / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1683, allocations: 8.078 kB / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1683, allocations: 0 / 447.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1684, allocations: 28 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1684, allocations: 0 / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.1685, allocations: 11.89 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1685, allocations: 4 kB / 447.1 MB, free: 7.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001225/0.1687, allocations: 145.7 kB / 447.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1687, allocations: 19.81 kB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.1688, allocations: 24.98 kB / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1688, allocations: 0 / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1688, allocations: 0 / 447.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1688, allocations: 3.984 kB / 447.3 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.169, allocations: 217.5 kB / 447.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.169, allocations: 0 / 447.5 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.169, allocations: 8 kB / 447.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.169, allocations: 0 / 447.5 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1691, allocations: 7.984 kB / 447.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1691, allocations: 0 / 447.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.1691, allocations: 0 / 447.5 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1694, allocations: 185.5 kB / 447.7 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1694, allocations: 88.92 kB / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1695, allocations: 0 / 447.8 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1696, allocations: 11.98 kB / 447.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.1696, allocations: 7.984 kB / 447.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1696, allocations: 4 kB / 447.8 MB, free: 6.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.1698, allocations: 169.5 kB / 448 MB, free: 6.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1698, allocations: 0 / 448 MB, free: 6.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1701, allocations: 36 kB / 448 MB, free: 6.246 MB / 382.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001563/0.1716, allocations: 1.049 MB / 449.1 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1719, allocations: 79.91 kB / 449.2 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1719, allocations: 0 / 449.2 MB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.172, allocations: 43.91 kB / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1724, allocations: 67.77 kB / 449.3 MB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.1747, allocations: 1.828 MB / 451.1 MB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.175, allocations: 0.7164 MB / 451.8 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.1751, allocations: 37.39 kB / 451.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.545e-05/0.1752, allocations: 55.41 kB / 451.9 MB, free: 2.258 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1752, allocations: 0 / 451.9 MB, free: 2.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/0.3969, allocations: 4.489 MB / 456.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.3971, allocations: 237.7 kB / 456.6 MB, free: 47.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.303, allocations: 3.094 kB / 456.6 MB, free: 47.87 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches