Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, 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.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 8.484 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.001168/0.001168, allocations: 97.5 kB / 269.9 MB, free: 8.438 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.3275/0.3275, allocations: 43.5 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009896/0.0009898, allocations: 55.89 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1083, allocations: 57.76 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002953/0.1113, allocations: 1.621 MB / 488.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006452/0.112, allocations: 315.5 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.112, allocations: 3.938 kB / 488.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1123, allocations: 87.81 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1125, allocations: 63.84 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1127, allocations: 63.88 kB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.1129, allocations: 59.89 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.113, allocations: 23.95 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.511e-05/0.113, allocations: 35.86 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.1131, allocations: 47.81 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1132, allocations: 4 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.099e-05/0.1133, allocations: 31.98 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1133, allocations: 15.92 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.1134, allocations: 27.75 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1135, allocations: 95.92 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1135, allocations: 0 / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1135, allocations: 0 / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1135, allocations: 0 / 489.5 MB, free: 10.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004735/0.114, allocations: 407 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1141, allocations: 8.031 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.1141, allocations: 8.844 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1143, allocations: 208.6 kB / 490.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1143, allocations: 4.359 kB / 490.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1144, allocations: 4.375 kB / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1145, allocations: 45.81 kB / 490.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1145, allocations: 4 kB / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1145, allocations: 0 / 490.2 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1145, allocations: 4 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.1146, allocations: 23.97 kB / 490.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.115, allocations: 288.8 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1152, allocations: 42.5 kB / 490.5 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1153, allocations: 24.94 kB / 490.5 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1153, allocations: 0 / 490.5 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.1153, allocations: 30.56 kB / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1153, allocations: 0 / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005231/0.1159, allocations: 141.2 kB / 490.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1159, allocations: 51.41 kB / 490.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1161, allocations: 230.3 kB / 491 MB, free: 8.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1161, allocations: 25.7 kB / 491 MB, free: 8.348 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1162, allocations: 112 kB / 491.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1162, allocations: 15.75 kB / 491.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1163, allocations: 13.72 kB / 491.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1164, allocations: 326.8 kB / 491.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.386e-05/0.1164, allocations: 19.98 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.1165, allocations: 23.92 kB / 491.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1166, allocations: 49.02 kB / 491.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1166, allocations: 0 / 491.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.1168, allocations: 85.52 kB / 491.6 MB, free: 7.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1168, allocations: 4 kB / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1168, allocations: 0 / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1169, allocations: 4 kB / 491.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.1169, allocations: 15.98 kB / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1169, allocations: 0 / 491.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.117, allocations: 4 kB / 491.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.117, allocations: 3.938 kB / 491.7 MB, free: 7.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.246e-05/0.1171, allocations: 137.8 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1171, allocations: 11.81 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.1173, allocations: 98.64 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1174, allocations: 0 / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1174, allocations: 0 / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1174, allocations: 0 / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1178, allocations: 350.5 kB / 492.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1178, allocations: 4 kB / 492.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.1178, allocations: 11.98 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1179, allocations: 0 / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.1179, allocations: 8 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1179, allocations: 4.125 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1179, allocations: 8 kB / 492.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.1184, allocations: 0.755 MB / 493 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1185, allocations: 84.92 kB / 493.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1185, allocations: 8 kB / 493.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.1186, allocations: 4.266 kB / 493.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1186, allocations: 7.938 kB / 493.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1186, allocations: 0 / 493.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1188, allocations: 175.2 kB / 493.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1188, allocations: 0 / 493.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.1191, allocations: 16 kB / 493.3 MB, free: 5.832 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008505/0.12, allocations: 417.4 kB / 493.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1202, allocations: 43.97 kB / 493.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1202, allocations: 0 / 493.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.1203, allocations: 23.98 kB / 493.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1206, allocations: 15.92 kB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.1212, allocations: 378.9 kB / 494.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1215, allocations: 0.7043 MB / 494.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.1216, allocations: 23.83 kB / 494.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1216, allocations: 15.38 kB / 494.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1216, allocations: 0 / 494.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of Templates: time 0.003297/0.1249, allocations: 1.078 MB / 496 MB, free: 3.129 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches