Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 173.2 kB / 16.56 MB, free: 6.379 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.427/1.427, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.302/0.302, allocations: 43.55 MB / 314.5 MB, free: 8.766 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.0005682/0.0005688, allocations: 18.97 kB / 383.9 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1292, allocations: 58.87 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002159/0.1314, allocations: 1.38 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1326, allocations: 0.7306 MB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.1328, allocations: 0 / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.133, allocations: 39.83 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1333, allocations: 47.88 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1335, allocations: 79.72 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1337, allocations: 59.86 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.1338, allocations: 16.2 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.506e-05/0.1339, allocations: 39.84 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.134, allocations: 31.86 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.134, allocations: 0 / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1341, allocations: 39.84 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.1342, allocations: 27.91 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1342, allocations: 37.64 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1344, allocations: 104 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1344, allocations: 0 / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1344, allocations: 0 / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1344, allocations: 0 / 445.4 MB, free: 10.4 MB / 382.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.0005147/0.1349, allocations: 430.6 kB / 445.8 MB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.135, allocations: 8.031 kB / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.135, allocations: 15.81 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1353, allocations: 202.9 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1353, allocations: 8 kB / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1353, allocations: 0 / 446 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1355, allocations: 57.61 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1355, allocations: 3.906 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1355, allocations: 4 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1355, allocations: 7.953 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.1356, allocations: 15.98 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.136, allocations: 293 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1362, allocations: 58.61 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1362, allocations: 128 / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1364, allocations: 71.34 kB / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1364, allocations: 0 / 446.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1369, allocations: 185 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.137, allocations: 51.41 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1372, allocations: 258.5 kB / 447 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1372, allocations: 25.7 kB / 447 MB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.1373, allocations: 120 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1373, allocations: 27.72 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.1374, allocations: 4 kB / 447.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1375, allocations: 322.8 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.1376, allocations: 23.98 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.1376, allocations: 37.64 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.003e-05/0.1377, allocations: 20 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1377, allocations: 3.938 kB / 447.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1379, allocations: 113.4 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1379, allocations: 7.953 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1379, allocations: 0 / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1379, allocations: 4 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.138, allocations: 12.19 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.138, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1381, allocations: 11.92 kB / 447.7 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1381, allocations: 4 kB / 447.7 MB, free: 7.816 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1382, allocations: 141.8 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1382, allocations: 15.81 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.1383, allocations: 25.36 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1383, allocations: 0 / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1383, allocations: 0 / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1383, allocations: 3.984 kB / 447.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.1387, allocations: 407.3 kB / 448.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1388, allocations: 8.031 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.1388, allocations: 11.92 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1388, allocations: 4 kB / 448.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1388, allocations: 4 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1388, allocations: 0 / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1388, allocations: 4 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.139, allocations: 210.3 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1391, allocations: 96.91 kB / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1391, allocations: 0 / 448.7 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.1392, allocations: 8 kB / 448.7 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.1393, allocations: 11.98 kB / 448.7 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1393, allocations: 4 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1394, allocations: 199.9 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1395, allocations: 0 / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1397, allocations: 27.98 kB / 448.9 MB, free: 6.547 MB / 382.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 (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.0009414/0.1407, allocations: 459.8 kB / 449.3 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1409, allocations: 59.91 kB / 449.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1409, allocations: 8 kB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.534e-05/0.1409, allocations: 27.98 kB / 449.4 MB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1412, allocations: 27.92 kB / 449.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.1417, allocations: 303 kB / 449.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.142, allocations: 0.716 MB / 450.5 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.604e-05/0.142, allocations: 17.17 kB / 450.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.1421, allocations: 19.44 kB / 450.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1421, allocations: 3.938 kB / 450.5 MB, free: 4.902 MB / 382.1 MB Notification: Performance of Templates: time 0.004205/0.1463, allocations: 1.619 MB / 452.1 MB, free: 3.285 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches