Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001081/0.001086, allocations: 108 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.001186/0.001186, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.594/1.594, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.4775/0.4775, allocations: 43.5 MB / 313.6 MB, free: 8.285 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.001667/0.001667, allocations: 67.91 kB / 382.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 57.79 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004112/0.1565, allocations: 1.756 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1583, allocations: 0.7924 MB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1584, allocations: 4 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.1588, allocations: 39.89 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1592, allocations: 63.75 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1595, allocations: 75.86 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1598, allocations: 103.7 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1599, allocations: 12.22 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.16, allocations: 43.73 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.1601, allocations: 39.83 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1602, allocations: 4 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1603, allocations: 40 kB / 443.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.1604, allocations: 39.78 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1605, allocations: 39.67 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1608, allocations: 131.8 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1608, allocations: 0 / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1608, allocations: 0 / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1608, allocations: 0 / 443.3 MB, free: 11.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006541/0.1615, allocations: 446.7 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1615, allocations: 15.89 kB / 443.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.1616, allocations: 34.75 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.1616, allocations: 16.75 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1619, allocations: 228.8 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.162, allocations: 384 / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.162, allocations: 11.94 kB / 444 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1622, allocations: 49.67 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1622, allocations: 0 / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1622, allocations: 4 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1622, allocations: 4 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.1623, allocations: 19.98 kB / 444.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.1627, allocations: 300.8 kB / 444.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1629, allocations: 50.69 kB / 444.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.163, allocations: 20.84 kB / 444.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.163, allocations: 8 kB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.1633, allocations: 67.3 kB / 444.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 5.5e-06/0.1633, allocations: 3.984 kB / 444.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006381/0.164, allocations: 181.1 kB / 444.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.164, allocations: 51.41 kB / 444.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1643, allocations: 276.7 kB / 445 MB, free: 9.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1643, allocations: 33.7 kB / 445.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1644, allocations: 112.1 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1645, allocations: 31.62 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1645, allocations: 21.72 kB / 445.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1647, allocations: 330.8 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.1648, allocations: 16 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.1648, allocations: 41.64 kB / 445.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.165, allocations: 65.77 kB / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.165, allocations: 0 / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.1652, allocations: 105.8 kB / 445.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.1652, allocations: 4 kB / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1652, allocations: 0 / 445.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1653, allocations: 4 kB / 445.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1654, allocations: 23.94 kB / 445.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1654, allocations: 0 / 445.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.1655, allocations: 15.95 kB / 445.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1655, allocations: 0 / 445.8 MB, free: 8.398 MB / 382.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.0001357/0.1656, allocations: 137.8 kB / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1657, allocations: 15.75 kB / 446 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.1657, allocations: 17.41 kB / 446 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1657, allocations: 7.984 kB / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1657, allocations: 0 / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1657, allocations: 3.938 kB / 446 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1662, allocations: 407.2 kB / 446.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1663, allocations: 0 / 446.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.1663, allocations: 11.98 kB / 446.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.1663, allocations: 3.938 kB / 446.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1663, allocations: 4 kB / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1663, allocations: 0 / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1663, allocations: 0 / 446.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1666, allocations: 212.2 kB / 446.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1666, allocations: 89 kB / 446.7 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1667, allocations: 3.938 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.1668, allocations: 8 kB / 446.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1668, allocations: 3.984 kB / 446.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1668, allocations: 4 kB / 446.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.167, allocations: 204.5 kB / 446.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.167, allocations: 8 kB / 446.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1673, allocations: 23.98 kB / 447 MB, free: 7.152 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: 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.001583/0.1689, allocations: 1.117 MB / 448.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1691, allocations: 59.91 kB / 448.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1691, allocations: 0 / 448.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.1692, allocations: 35.92 kB / 448.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1696, allocations: 31.97 kB / 448.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.1718, allocations: 1.866 MB / 450.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1723, allocations: 0.7158 MB / 450.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.1724, allocations: 20.48 kB / 450.8 MB, free: 3.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1725, allocations: 43.42 kB / 450.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1725, allocations: 0 / 450.8 MB, free: 3.156 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/0.4313, allocations: 3.572 MB / 454.4 MB, free: 48.15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.4316, allocations: 234 kB / 454.6 MB, free: 47.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.257, allocations: 0 / 454.6 MB, free: 47.9 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches