Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.7 kB / 16.98 MB, free: 5.938 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.0009308/0.0009308, allocations: 187.1 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2486/0.2486, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 19.94 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 61.9 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002465/0.133, allocations: 1.579 MB / 473 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1345, allocations: 0.8308 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1346, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1349, allocations: 31.78 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1351, allocations: 43.88 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1355, allocations: 115.2 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1357, allocations: 87.77 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1358, allocations: 25.47 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1359, allocations: 43.78 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1361, allocations: 43.77 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1361, allocations: 8 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.1362, allocations: 27.94 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1362, allocations: 23.86 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1363, allocations: 41.62 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1365, allocations: 100.1 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.1365, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1365, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1365, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000704/0.1372, allocations: 468.4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1373, allocations: 8.031 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1373, allocations: 19.75 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1376, allocations: 218.8 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1376, allocations: 4 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1377, allocations: 8 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.1379, allocations: 115.4 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1379, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.138, allocations: 4 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.138, allocations: 8 kB / 475.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1381, allocations: 47.91 kB / 475.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.1388, allocations: 0.5203 MB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1391, allocations: 86.67 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1392, allocations: 0 / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1394, allocations: 91.3 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1394, allocations: 0 / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003993/0.1398, allocations: 149.5 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1399, allocations: 51.41 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1401, allocations: 191.4 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1401, allocations: 25.7 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.1402, allocations: 108 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1402, allocations: 31.64 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.1403, allocations: 4 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1404, allocations: 326.8 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/0.1405, allocations: 31.98 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.1406, allocations: 68.2 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1407, allocations: 44.36 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1407, allocations: 3.938 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002535/0.141, allocations: 133.3 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.141, allocations: 11.98 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.141, allocations: 0 / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1411, allocations: 4 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1412, allocations: 24.06 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1412, allocations: 7.984 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.1413, allocations: 19.84 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1413, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1414, allocations: 130.3 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1414, allocations: 11.81 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.1415, allocations: 17.41 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1415, allocations: 4 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1415, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.1417, allocations: 213.7 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1417, allocations: 0 / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.1418, allocations: 23.91 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1418, allocations: 0 / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1418, allocations: 4 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1419, allocations: 4 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1419, allocations: 0 / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.1422, allocations: 192.8 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1423, allocations: 88.98 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1423, allocations: 0 / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.1424, allocations: 15.98 kB / 477.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1425, allocations: 8.047 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1425, allocations: 4.188 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1426, allocations: 141.2 kB / 478.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1426, allocations: 3.938 kB / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1429, allocations: 32.03 kB / 478.1 MB, free: 6.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009386/0.1438, allocations: 409.2 kB / 478.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1441, allocations: 87.83 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1441, allocations: 192 / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.1442, allocations: 39.92 kB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.1444, allocations: 32.11 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1449, allocations: 294.5 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1452, allocations: 0.7165 MB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.1453, allocations: 21.42 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1454, allocations: 15.44 kB / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1454, allocations: 0 / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of Templates: time 0.004432/0.1498, allocations: 1.731 MB / 481.4 MB, free: 3.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches