Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001153/0.001153, allocations: 104 kB / 16.27 MB, free: 6.344 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.001198/0.001198, allocations: 191.6 kB / 17.2 MB, free: 5.945 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.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2188/0.2188, allocations: 43.53 MB / 313.9 MB, free: 0.5391 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.00295/0.002951, allocations: 66.42 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1622, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002935/0.1652, allocations: 1.693 MB / 442.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1664, allocations: 0.8 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.1665, allocations: 8 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1668, allocations: 35.83 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.167, allocations: 59.69 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1672, allocations: 78.91 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1674, allocations: 103.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1675, allocations: 20.17 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.1676, allocations: 35.8 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.1676, allocations: 31.84 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1677, allocations: 4 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.1678, allocations: 39.98 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.1678, allocations: 23.86 kB / 443.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1679, allocations: 31.75 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1681, allocations: 111.7 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1681, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1681, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1681, allocations: 0 / 443.7 MB, free: 3.727 MB / 318.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.0005007/0.1686, allocations: 422.9 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1686, allocations: 15.89 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.1687, allocations: 34.73 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1687, allocations: 12.75 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1689, allocations: 210.2 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1689, allocations: 8.359 kB / 444.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.169, allocations: 3.938 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1691, allocations: 53.67 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1691, allocations: 4 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1692, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1692, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.1692, allocations: 15.98 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1696, allocations: 292.8 kB / 444.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1697, allocations: 58.67 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.814e-05/0.1698, allocations: 20.84 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.1698, allocations: 0 / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.17, allocations: 67.39 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.17, allocations: 0 / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.1705, allocations: 189.2 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.1705, allocations: 55.41 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1707, allocations: 203.2 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1707, allocations: 33.7 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1707, allocations: 104 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.1708, allocations: 27.64 kB / 445.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1708, allocations: 21.72 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.1709, allocations: 326.8 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.108e-05/0.1709, allocations: 15.98 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.171, allocations: 41.7 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.1711, allocations: 53.72 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1711, allocations: 0 / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/0.1713, allocations: 109.5 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1713, allocations: 4 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1713, allocations: 0 / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1713, allocations: 3.938 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.1714, allocations: 27.95 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1714, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1715, allocations: 3.938 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1715, allocations: 4 kB / 446.1 MB, free: 1.086 MB / 318.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 7.332e-05/0.1716, allocations: 133.8 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.1716, allocations: 11.81 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1716, allocations: 13.41 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1716, allocations: 4 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1716, allocations: 4 kB / 446.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1717, allocations: 3.938 kB / 446.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.172, allocations: 391.3 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.172, allocations: 0 / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.172, allocations: 8 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.172, allocations: 3.938 kB / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.172, allocations: 0 / 446.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.172, allocations: 4 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1721, allocations: 32 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1722, allocations: 208.5 kB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1723, allocations: 92.91 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1723, allocations: 3.938 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.1724, allocations: 8.188 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.1724, allocations: 3.984 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1725, allocations: 11.94 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1726, allocations: 151.9 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1729, allocations: 24 kB / 447.1 MB, free: 15.92 MB / 334.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.001463/0.1743, allocations: 1.103 MB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1745, allocations: 59.92 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1746, allocations: 0 / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.1746, allocations: 35.97 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.175, allocations: 30.02 kB / 448.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1769, allocations: 1.663 MB / 450 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1772, allocations: 0.7041 MB / 450.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1773, allocations: 13.19 kB / 450.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.1774, allocations: 39.41 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of SimCode: time 1.532e-06/0.1774, allocations: 4 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.1971, allocations: 3.354 MB / 454.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.958, allocations: 3.938 kB / 454.2 MB, free: 8.832 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches