Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001323/0.001323, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.421/1.421, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2355/0.2355, allocations: 43.53 MB / 314.6 MB, free: 0.5156 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.001572/0.001572, allocations: 70.55 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 57.79 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002753/0.1245, allocations: 1.656 MB / 442.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.1255, allocations: 0.7844 MB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.1256, allocations: 4 kB / 443.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1259, allocations: 51.77 kB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.1261, allocations: 59.75 kB / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1263, allocations: 79.77 kB / 443.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1265, allocations: 91.7 kB / 443.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1265, allocations: 4 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.725e-05/0.1266, allocations: 43.83 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.1267, allocations: 27.8 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1267, allocations: 4 kB / 444 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.1268, allocations: 31.98 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1268, allocations: 23.86 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1269, allocations: 39.73 kB / 444.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.127, allocations: 119.8 kB / 444.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.127, allocations: 4 kB / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1271, allocations: 0 / 444.2 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1271, allocations: 0 / 444.2 MB, free: 3.855 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.0004421/0.1275, allocations: 434.6 kB / 444.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1275, allocations: 11.89 kB / 444.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.1276, allocations: 8.844 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1278, allocations: 223.5 kB / 444.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1278, allocations: 4.312 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.1278, allocations: 4.125 kB / 444.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1279, allocations: 57.67 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.128, allocations: 0 / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.128, allocations: 0 / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.128, allocations: 0 / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.18e-05/0.1281, allocations: 15.98 kB / 445 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1282, allocations: 185.7 kB / 445.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1284, allocations: 58.55 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1284, allocations: 24.8 kB / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1284, allocations: 0 / 445.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1286, allocations: 67.28 kB / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.1286, allocations: 0 / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002498/0.1289, allocations: 101.5 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.1289, allocations: 55.34 kB / 445.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1291, allocations: 259.7 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1291, allocations: 33.7 kB / 445.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.1291, allocations: 108.1 kB / 445.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1292, allocations: 15.75 kB / 445.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1292, allocations: 17.72 kB / 445.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.1293, allocations: 326.8 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.1293, allocations: 15.98 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.1294, allocations: 33.7 kB / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.1295, allocations: 37.97 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1295, allocations: 7.938 kB / 446.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000128/0.1296, allocations: 93.36 kB / 446.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1296, allocations: 4 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1296, allocations: 0 / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1297, allocations: 4 kB / 446.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.1297, allocations: 12.03 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1297, allocations: 8.078 kB / 446.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.1298, allocations: 11.98 kB / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1298, allocations: 0 / 446.4 MB, free: 1.418 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 6.899e-05/0.1299, allocations: 137.7 kB / 446.5 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1299, allocations: 15.81 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.1299, allocations: 13 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.13, allocations: 4 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.13, allocations: 3.984 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.13, allocations: 4 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.59e-05/0.1301, allocations: 197.6 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1301, allocations: 0 / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.1301, allocations: 7.984 kB / 446.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1301, allocations: 0 / 446.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.1301, allocations: 0 / 446.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1301, allocations: 0 / 446.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1301, allocations: 4 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1303, allocations: 120.8 kB / 446.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1303, allocations: 85.02 kB / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1303, allocations: 0 / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.1304, allocations: 4 kB / 447 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.1304, allocations: 3.984 kB / 447 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1304, allocations: 12.12 kB / 447 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1305, allocations: 191.3 kB / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 447.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.1308, allocations: 27.98 kB / 447.2 MB, free: 0.5078 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.0008328/0.1316, allocations: 414.2 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1317, allocations: 43.92 kB / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1318, allocations: 0 / 447.7 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/0.1318, allocations: 19.98 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1321, allocations: 33.25 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.1326, allocations: 292.4 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1329, allocations: 0.7119 MB / 448.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.1329, allocations: 23.38 kB / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of SimCode: time 2.705e-06/0.1329, allocations: 0 / 448.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.003621/0.1365, allocations: 1.819 MB / 450.6 MB, free: 13.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches