Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 102.5 kB / 16.27 MB, free: 6.41 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.001376/0.001377, allocations: 188.6 kB / 17.19 MB, free: 5.949 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.734/1.734, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2425/0.2425, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.002291/0.002291, allocations: 74.67 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1365, allocations: 57.79 MB / 440.5 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003416/0.14, allocations: 1.697 MB / 442.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1413, allocations: 0.7922 MB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1414, allocations: 7.938 kB / 443 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1417, allocations: 39.83 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.142, allocations: 55.69 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1424, allocations: 83.77 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1425, allocations: 91.7 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1426, allocations: 20.48 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.1427, allocations: 39.8 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.798e-05/0.1428, allocations: 27.86 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1428, allocations: 4 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1429, allocations: 47.97 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.143, allocations: 19.86 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1431, allocations: 31.75 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1433, allocations: 111.6 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1433, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1433, allocations: 0 / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1433, allocations: 4 kB / 443.6 MB, free: 3.789 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.0004586/0.1438, allocations: 414.9 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1438, allocations: 11.89 kB / 444 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.1439, allocations: 8.844 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1441, allocations: 213.1 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1442, allocations: 384 / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1442, allocations: 12.12 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1444, allocations: 53.67 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1444, allocations: 0 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1444, allocations: 0 / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1444, allocations: 4 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.1445, allocations: 19.98 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1448, allocations: 284.8 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.145, allocations: 62.61 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.1451, allocations: 20.86 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1451, allocations: 4 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.1452, allocations: 63.39 kB / 444.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1452, allocations: 3.938 kB / 444.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005175/0.1458, allocations: 177.1 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1458, allocations: 51.41 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1459, allocations: 198.1 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.146, allocations: 25.7 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.146, allocations: 104.1 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.146, allocations: 19.72 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.1461, allocations: 33.64 kB / 445.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.1461, allocations: 326.8 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.1462, allocations: 23.94 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.1463, allocations: 33.7 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.546e-05/0.1464, allocations: 57.7 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1464, allocations: 0 / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.1465, allocations: 101.5 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1466, allocations: 9.234 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1466, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1466, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.1467, allocations: 12 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1467, allocations: 7.969 kB / 445.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.1468, allocations: 7.938 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1468, allocations: 3.984 kB / 445.9 MB, free: 1.23 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 8.252e-05/0.1469, allocations: 133.8 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1469, allocations: 11.81 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1469, allocations: 16.7 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1469, allocations: 0 / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.147, allocations: 4 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.147, allocations: 3.938 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.1473, allocations: 395.3 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1473, allocations: 0 / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.1473, allocations: 8 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1474, allocations: 4 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1474, allocations: 7.922 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1474, allocations: 0 / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1474, allocations: 0 / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1476, allocations: 208.5 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.928e-05/0.1476, allocations: 85.02 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1477, allocations: 11.88 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1477, allocations: 4.359 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1478, allocations: 8 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1478, allocations: 8 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.068e-05/0.1479, allocations: 143.2 kB / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1479, allocations: 0 / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1481, allocations: 27.91 kB / 447 MB, free: 60 kB / 318.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.001115/0.1493, allocations: 469.6 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1495, allocations: 63.92 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1495, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.1496, allocations: 31.92 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1499, allocations: 19.98 kB / 447.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.1505, allocations: 231.4 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.1508, allocations: 0.7002 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.239e-05/0.1509, allocations: 25.11 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.151, allocations: 15.44 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.151, allocations: 0 / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of Templates: time 0.004855/0.1558, allocations: 1.685 MB / 450.2 MB, free: 12.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches