Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 108.5 kB / 17.03 MB, free: 5.703 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.00139/0.00139, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.689/1.689, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2327/0.2327, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001566/0.001566, allocations: 65.55 kB / 384.2 MB, free: 56.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 57.78 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00335/0.1566, allocations: 1.567 MB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1579, allocations: 0.9377 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.158, allocations: 0 / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1583, allocations: 27.84 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1585, allocations: 35.8 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1588, allocations: 79.77 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.159, allocations: 63.89 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1591, allocations: 16.12 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.1591, allocations: 31.84 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1593, allocations: 31.84 kB / 444.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1593, allocations: 4 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1594, allocations: 51.91 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.1595, allocations: 16 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.1596, allocations: 27.8 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1598, allocations: 99.75 kB / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1598, allocations: 0 / 444.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1598, allocations: 3.938 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1598, allocations: 0 / 444.9 MB, free: 3.133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005437/0.1604, allocations: 383.2 kB / 445.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1604, allocations: 11.89 kB / 445.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.1605, allocations: 12.78 kB / 445.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1607, allocations: 191.9 kB / 445.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1607, allocations: 12.38 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1608, allocations: 4.375 kB / 445.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.161, allocations: 71.33 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.161, allocations: 0 / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.161, allocations: 4 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.161, allocations: 0 / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1611, allocations: 35.91 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.1615, allocations: 296.7 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1617, allocations: 50.56 kB / 446 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.1617, allocations: 16.97 kB / 446 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1618, allocations: 8 kB / 446 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1618, allocations: 34.5 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1618, allocations: 4 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006322/0.1624, allocations: 173.3 kB / 446.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.1625, allocations: 81.09 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1627, allocations: 141.1 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1627, allocations: 29.64 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1628, allocations: 96.08 kB / 446.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1628, allocations: 31.61 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.1628, allocations: 25.66 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.1629, allocations: 318.8 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.163, allocations: 23.98 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.1631, allocations: 41.77 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1632, allocations: 64.86 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1632, allocations: 0 / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001716/0.1634, allocations: 101.5 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1634, allocations: 5.25 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1634, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1634, allocations: 0 / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1636, allocations: 19.98 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1636, allocations: 0 / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1636, allocations: 15.94 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1636, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.892e-05/0.1637, allocations: 125.8 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1637, allocations: 7.906 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.164, allocations: 118.3 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.164, allocations: 4 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.164, allocations: 0 / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.164, allocations: 3.938 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.1646, allocations: 382.5 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1646, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.1647, allocations: 19.98 kB / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.1647, allocations: 7.922 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1647, allocations: 4 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1647, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1647, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1651, allocations: 199.8 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1652, allocations: 81.02 kB / 448.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1652, allocations: 7.875 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1653, allocations: 15.92 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1653, allocations: 4 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1653, allocations: 7.984 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.1656, allocations: 107.3 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1656, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1659, allocations: 24 kB / 448.3 MB, free: 15.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001138/0.1671, allocations: 441.1 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1673, allocations: 67.95 kB / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1673, allocations: 0 / 448.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.1674, allocations: 35.92 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.1678, allocations: 19.92 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.1684, allocations: 178 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1688, allocations: 0.7001 MB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.1689, allocations: 16.97 kB / 449.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.1689, allocations: 19.42 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.169, allocations: 4 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of Templates: time 0.004972/0.1739, allocations: 1.426 MB / 451.2 MB, free: 12.58 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches