Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 105 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3128/0.3128, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1118, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003391/0.1153, allocations: 1.748 MB / 488.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1166, allocations: 0.8001 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.1167, allocations: 0 / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.117, allocations: 35.89 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1172, allocations: 47.83 kB / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.1174, allocations: 79.84 kB / 489.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.1176, allocations: 91.7 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.1177, allocations: 12.2 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.1177, allocations: 43.72 kB / 489.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.1178, allocations: 27.86 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1178, allocations: 4 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.1179, allocations: 43.97 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.118, allocations: 19.92 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.118, allocations: 31.75 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1182, allocations: 115.8 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1182, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1182, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1183, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 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.000484/0.1187, allocations: 411 kB / 490.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1188, allocations: 8.031 kB / 490.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1188, allocations: 8.844 kB / 490.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.119, allocations: 216 kB / 490.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1191, allocations: 4.375 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1191, allocations: 8.125 kB / 490.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1192, allocations: 57.61 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1193, allocations: 0 / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1193, allocations: 3.938 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1193, allocations: 0 / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1194, allocations: 23.92 kB / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.1197, allocations: 280.9 kB / 491.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1199, allocations: 70.59 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1199, allocations: 16.86 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.12, allocations: 7.984 kB / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1202, allocations: 63.39 kB / 491.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1202, allocations: 4 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000486/0.1207, allocations: 169.2 kB / 491.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.1207, allocations: 59.39 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1209, allocations: 178.2 kB / 491.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1209, allocations: 29.7 kB / 491.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.121, allocations: 108 kB / 491.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.121, allocations: 27.69 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.121, allocations: 21.72 kB / 491.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.1211, allocations: 330.8 kB / 492.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.1212, allocations: 23.98 kB / 492.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1213, allocations: 37.64 kB / 492.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1214, allocations: 53.72 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1214, allocations: 0 / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001709/0.1216, allocations: 105.5 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1216, allocations: 4 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1216, allocations: 384 / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1216, allocations: 4 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.1217, allocations: 12 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1217, allocations: 7.984 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.1218, allocations: 11.94 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1218, allocations: 0 / 492.4 MB, free: 6.867 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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 9.113e-05/0.1219, allocations: 125.8 kB / 492.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1219, allocations: 15.89 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.122, allocations: 16.72 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.122, allocations: 0 / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.122, allocations: 4 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.122, allocations: 3.938 kB / 492.6 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1224, allocations: 387.2 kB / 493 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1224, allocations: 3.938 kB / 493 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.1225, allocations: 11.98 kB / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1225, allocations: 4.219 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1225, allocations: 11.94 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1225, allocations: 3.938 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1225, allocations: 0 / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.123, allocations: 0.7793 MB / 493.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1231, allocations: 89.02 kB / 493.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1231, allocations: 4 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1232, allocations: 7.984 kB / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.1232, allocations: 0 / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1232, allocations: 4 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1233, allocations: 152 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1233, allocations: 0 / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.1237, allocations: 20 kB / 494.1 MB, free: 5.098 MB / 378.7 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 (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.0008891/0.1246, allocations: 481.7 kB / 494.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.1247, allocations: 59.91 kB / 494.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1248, allocations: 0 / 494.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.1248, allocations: 35.98 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1251, allocations: 27.89 kB / 494.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.1257, allocations: 368 kB / 495 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1259, allocations: 0.7043 MB / 495.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.126, allocations: 20.88 kB / 495.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.126, allocations: 11.44 kB / 495.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.126, allocations: 7.938 kB / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004495/0.1305, allocations: 1.669 MB / 497.4 MB, free: 1.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches