Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 108.7 kB / 16.64 MB, free: 6.82 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.0009946/0.0009946, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.466/1.466, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.2474/0.2474, allocations: 43.53 MB / 314.3 MB, free: 0.707 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.001838/0.001839, allocations: 64.55 kB / 382.9 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 57.8 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003813/0.1252, allocations: 1.711 MB / 442.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1265, allocations: 0.7772 MB / 443.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1266, allocations: 4 kB / 443.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.127, allocations: 59.84 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1273, allocations: 59.75 kB / 443.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1276, allocations: 63.92 kB / 443.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1278, allocations: 103.7 kB / 443.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1278, allocations: 7.984 kB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.1279, allocations: 39.8 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.128, allocations: 51.77 kB / 443.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1281, allocations: 4 kB / 443.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.1282, allocations: 27.98 kB / 443.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1282, allocations: 19.97 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1283, allocations: 35.69 kB / 443.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1285, allocations: 76.12 kB / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1285, allocations: 0 / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1285, allocations: 0 / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1285, allocations: 0 / 443.7 MB, free: 4.32 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.0004958/0.129, allocations: 406.9 kB / 444.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1291, allocations: 15.89 kB / 444.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1291, allocations: 8.844 kB / 444.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1293, allocations: 213.2 kB / 444.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1293, allocations: 384 / 444.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1294, allocations: 8.125 kB / 444.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1295, allocations: 49.61 kB / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1295, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1295, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1295, allocations: 0 / 444.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.1296, allocations: 16 kB / 444.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1298, allocations: 185.7 kB / 444.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1299, allocations: 46.62 kB / 444.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.13, allocations: 24.78 kB / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.13, allocations: 0 / 444.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.1302, allocations: 75.31 kB / 444.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1302, allocations: 0 / 444.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002691/0.1305, allocations: 97.52 kB / 444.8 MB, free: 3.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1305, allocations: 51.41 kB / 444.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.1307, allocations: 194 kB / 445.1 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.1307, allocations: 25.7 kB / 445.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1307, allocations: 100.1 kB / 445.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1308, allocations: 15.89 kB / 445.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1308, allocations: 25.66 kB / 445.2 MB, free: 2.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.1309, allocations: 318.8 kB / 445.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.1309, allocations: 16.23 kB / 445.6 MB, free: 2.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.131, allocations: 25.72 kB / 445.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.052e-05/0.131, allocations: 45.7 kB / 445.6 MB, free: 2.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1311, allocations: 4 kB / 445.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001453/0.1312, allocations: 85.47 kB / 445.7 MB, free: 2.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1312, allocations: 4 kB / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1312, allocations: 0 / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1313, allocations: 0 / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.1313, allocations: 15.98 kB / 445.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1314, allocations: 3.938 kB / 445.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1314, allocations: 11.84 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1314, allocations: 4 kB / 445.8 MB, free: 2.035 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.982e-05/0.1315, allocations: 137.7 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.1315, allocations: 7.906 kB / 445.9 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/0.1316, allocations: 12.31 kB / 445.9 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1316, allocations: 4 kB / 445.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1316, allocations: 0 / 445.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1316, allocations: 3.984 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1317, allocations: 185.6 kB / 446.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1318, allocations: 4 kB / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.1318, allocations: 0 / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1318, allocations: 0 / 446.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1318, allocations: 8 kB / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1318, allocations: 0 / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1318, allocations: 0 / 446.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.132, allocations: 113 kB / 446.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.132, allocations: 88.92 kB / 446.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1321, allocations: 3.984 kB / 446.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.1321, allocations: 3.938 kB / 446.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.1321, allocations: 8 kB / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1322, allocations: 4 kB / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.955e-05/0.1323, allocations: 139.2 kB / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1323, allocations: 0 / 446.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.1325, allocations: 20 kB / 446.5 MB, free: 1.211 MB / 318.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.0009081/0.1334, allocations: 401.7 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1336, allocations: 51.91 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1336, allocations: 4.062 kB / 446.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.322e-05/0.1336, allocations: 16 kB / 446.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.1339, allocations: 31.91 kB / 447 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.1343, allocations: 239.8 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1345, allocations: 0.704 MB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1346, allocations: 15.44 kB / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1346, allocations: 0 / 447.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Templates: time 0.003439/0.138, allocations: 1.679 MB / 449.6 MB, free: 14.1 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches