Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001494/0.001495, allocations: 195 kB / 17.98 MB, free: 5.027 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.679/1.679, 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.2422/0.2422, allocations: 43.51 MB / 314.7 MB, free: 500 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.001657/0.001657, allocations: 72.59 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1466, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003231/0.1498, allocations: 1.652 MB / 443.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1511, allocations: 0.7867 MB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.1512, allocations: 4 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.1517, allocations: 47.75 kB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.152, allocations: 63.75 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1522, allocations: 79.77 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1524, allocations: 91.69 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.1525, allocations: 4 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1526, allocations: 43.78 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.1527, allocations: 23.86 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1527, allocations: 4 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.1528, allocations: 31.98 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.1529, allocations: 31.86 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.153, allocations: 39.67 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1533, allocations: 115.6 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1533, allocations: 4 kB / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1533, allocations: 0 / 445 MB, free: 3.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.1533, allocations: 0 / 445 MB, free: 3.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006196/0.1539, allocations: 430.7 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.154, allocations: 15.89 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.154, allocations: 8.844 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1543, allocations: 223.7 kB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1544, allocations: 4.375 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1544, allocations: 8.125 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1545, allocations: 49.67 kB / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1546, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1546, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1546, allocations: 0 / 445.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.1547, allocations: 15.98 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.1549, allocations: 181.7 kB / 445.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.155, allocations: 62.55 kB / 446 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.1551, allocations: 20.8 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1551, allocations: 4 kB / 446 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.1552, allocations: 71.28 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.1553, allocations: 7.938 kB / 446.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002589/0.1555, allocations: 97.52 kB / 446.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1556, allocations: 51.41 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1558, allocations: 258.5 kB / 446.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1558, allocations: 25.7 kB / 446.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.1558, allocations: 112.1 kB / 446.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1559, allocations: 19.75 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.1559, allocations: 13.72 kB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.156, allocations: 338.8 kB / 447 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.156, allocations: 12 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.1561, allocations: 25.7 kB / 447 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.1562, allocations: 49.64 kB / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1562, allocations: 256 / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.1563, allocations: 93.44 kB / 447.1 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1563, allocations: 8.031 kB / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1564, allocations: 0 / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1564, allocations: 0 / 447.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-05/0.1565, allocations: 15.94 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1565, allocations: 4.141 kB / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.1565, allocations: 0 / 447.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-06/0.1565, allocations: 7.984 kB / 447.2 MB, free: 0.6914 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 (7): * Single equations (assignments): 7 * 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.989e-05/0.1566, allocations: 149.2 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1566, allocations: 11.81 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1567, allocations: 24.98 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1567, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1567, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1567, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1568, allocations: 201.5 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1569, allocations: 0 / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.1569, allocations: 4 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1569, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1569, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1569, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1569, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1571, allocations: 124.8 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.1571, allocations: 85.02 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1572, allocations: 3.938 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.1572, allocations: 3.984 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.1573, allocations: 8.047 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1573, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1575, allocations: 192.4 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1575, allocations: 4 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1577, allocations: 23.98 kB / 448 MB, free: 15.78 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001014/0.1587, allocations: 411.2 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1589, allocations: 39.92 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1589, allocations: 4 kB / 448.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.159, allocations: 19.98 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1593, allocations: 35.92 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.1598, allocations: 258.7 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1602, allocations: 0.708 MB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1602, allocations: 16.8 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1603, allocations: 15.44 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.166e-06/0.1603, allocations: 0 / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004499/0.1648, allocations: 1.51 MB / 451 MB, free: 12.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches