Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001224/0.001224, allocations: 104 kB / 17.32 MB, free: 5.984 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.001079/0.001079, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.417/1.417, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2257/0.2257, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 64.44 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1419, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004093/0.1461, allocations: 1.757 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1477, allocations: 0.8653 MB / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1478, allocations: 0 / 471.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.1483, allocations: 39.83 kB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1486, allocations: 51.83 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.149, allocations: 102.3 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.1492, allocations: 91.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1494, allocations: 12.23 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1495, allocations: 51.7 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.1496, allocations: 27.86 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1497, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1498, allocations: 43.98 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.1499, allocations: 23.91 kB / 471.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.15, allocations: 35.75 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1502, allocations: 127.8 kB / 472.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1502, allocations: 4 kB / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1503, allocations: 0 / 472.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1503, allocations: 0 / 472.1 MB, free: 11.39 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.0006231/0.1509, allocations: 422.9 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.151, allocations: 8.031 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.151, allocations: 30.75 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1511, allocations: 20.69 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.1513, allocations: 220.5 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1514, allocations: 384 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1514, allocations: 7.938 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1516, allocations: 57.61 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1516, allocations: 4 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1516, allocations: 0 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1516, allocations: 0 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.645e-05/0.1517, allocations: 19.98 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.1522, allocations: 300.7 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1525, allocations: 54.62 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.1526, allocations: 24.84 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1526, allocations: 4 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.153, allocations: 63.39 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.153, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008006/0.1538, allocations: 177.2 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.1539, allocations: 51.41 kB / 473.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.1542, allocations: 238.5 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1543, allocations: 25.7 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/0.1544, allocations: 108.1 kB / 473.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1544, allocations: 23.64 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.1545, allocations: 25.72 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1547, allocations: 326.8 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.1547, allocations: 20 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.1548, allocations: 41.64 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.155, allocations: 66.14 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.155, allocations: 0 / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002094/0.1552, allocations: 93.53 kB / 474.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.1553, allocations: 8 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1553, allocations: 7.984 kB / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1553, allocations: 0 / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1554, allocations: 16.03 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.1554, allocations: 4 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.1555, allocations: 7.938 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.1555, allocations: 4 kB / 474.5 MB, free: 8.715 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.0001341/0.1557, allocations: 133.7 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1557, allocations: 12 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.1558, allocations: 25.39 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1558, allocations: 7.922 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1558, allocations: 0 / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1558, allocations: 7.938 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.1563, allocations: 399.3 kB / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1563, allocations: 0 / 475.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1564, allocations: 8 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1564, allocations: 3.938 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1564, allocations: 0 / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1564, allocations: 4 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1564, allocations: 0 / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1567, allocations: 208.2 kB / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1568, allocations: 89 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1568, allocations: 3.938 kB / 475.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.1569, allocations: 4 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.157, allocations: 11.98 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.157, allocations: 0 / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1572, allocations: 176.3 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1572, allocations: 0 / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1575, allocations: 27.98 kB / 475.6 MB, free: 7.512 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.002061/0.1595, allocations: 1.105 MB / 476.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1598, allocations: 55.97 kB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1598, allocations: 3.938 kB / 476.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.1599, allocations: 36.11 kB / 476.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1603, allocations: 27.92 kB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.1627, allocations: 1.732 MB / 478.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1632, allocations: 0.7119 MB / 479.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.1633, allocations: 8.891 kB / 479.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.1634, allocations: 47.41 kB / 479.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1634, allocations: 0 / 479.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1813, allocations: 3.368 MB / 482.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/0.1817, allocations: 231.2 kB / 482.9 MB, free: 324 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.036, allocations: 0 / 482.9 MB, free: 324 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches