Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, 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.382/1.382, 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.0009635/0.0009634, allocations: 95.92 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.3376/0.3376, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1113, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002769/0.1141, allocations: 1.633 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005589/0.1147, allocations: 315.6 kB / 489 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.1147, allocations: 0 / 489 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1149, allocations: 87.8 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1151, allocations: 63.86 kB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1153, allocations: 71.8 kB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1154, allocations: 79.81 kB / 489.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1155, allocations: 20.44 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.1156, allocations: 35.84 kB / 489.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.1157, allocations: 51.81 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1157, allocations: 4 kB / 489.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.1158, allocations: 28 kB / 489.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.1158, allocations: 27.91 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.1159, allocations: 31.73 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.116, allocations: 103.6 kB / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.116, allocations: 0 / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.116, allocations: 0 / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.116, allocations: 0 / 489.5 MB, free: 9.992 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004487/0.1165, allocations: 410.9 kB / 489.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1165, allocations: 12.03 kB / 490 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1166, allocations: 12.75 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1168, allocations: 200.1 kB / 490.2 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1168, allocations: 4.375 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1168, allocations: 4.375 kB / 490.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.117, allocations: 61.61 kB / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.117, allocations: 0 / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.117, allocations: 0 / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.117, allocations: 0 / 490.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/0.1171, allocations: 39.91 kB / 490.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1175, allocations: 304.7 kB / 490.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1176, allocations: 54.55 kB / 490.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.1176, allocations: 20.92 kB / 490.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1177, allocations: 0 / 490.6 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.1177, allocations: 34.55 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1177, allocations: 7.938 kB / 490.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.1183, allocations: 189 kB / 490.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.1183, allocations: 51.41 kB / 490.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1185, allocations: 234.3 kB / 491.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1185, allocations: 33.7 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.1186, allocations: 104.1 kB / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1186, allocations: 27.64 kB / 491.3 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.1187, allocations: 21.8 kB / 491.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.1188, allocations: 322.8 kB / 491.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.1188, allocations: 27.97 kB / 491.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.1189, allocations: 19.98 kB / 491.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1191, allocations: 60.83 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1191, allocations: 4 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001911/0.1193, allocations: 113.3 kB / 491.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1193, allocations: 4 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1193, allocations: 384 / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1193, allocations: 0 / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.1194, allocations: 19.98 kB / 491.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1194, allocations: 4 kB / 491.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.1195, allocations: 7.938 kB / 491.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1195, allocations: 0 / 491.9 MB, free: 7.406 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 (8): * Single equations (assignments): 8 * 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.166e-05/0.1196, allocations: 137.8 kB / 492 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1196, allocations: 15.81 kB / 492.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.1199, allocations: 115 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1199, allocations: 4 kB / 492.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1199, allocations: 0 / 492.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1199, allocations: 7.922 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.1203, allocations: 398.8 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1204, allocations: 0 / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.1204, allocations: 15.98 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1204, allocations: 3.938 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1204, allocations: 8 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1205, allocations: 0 / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1205, allocations: 0 / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.121, allocations: 0.794 MB / 493.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1211, allocations: 92.94 kB / 493.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1211, allocations: 0 / 493.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1212, allocations: 8 kB / 493.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1212, allocations: 11.98 kB / 493.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1212, allocations: 0 / 493.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1214, allocations: 172.2 kB / 493.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1214, allocations: 0 / 493.7 MB, free: 5.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.1217, allocations: 23.98 kB / 493.7 MB, free: 5.469 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 (8): * Single equations (assignments): 8 * 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.0007648/0.1225, allocations: 406.2 kB / 494.1 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1227, allocations: 71.89 kB / 494.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1227, allocations: 0 / 494.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.1228, allocations: 39.91 kB / 494.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1231, allocations: 16.59 kB / 494.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1236, allocations: 410.7 kB / 494.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1239, allocations: 0.7121 MB / 495.3 MB, free: 3.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.1239, allocations: 12.97 kB / 495.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.1239, allocations: 15.44 kB / 495.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.124, allocations: 4 kB / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of Templates: time 0.003037/0.127, allocations: 1.179 MB / 496.5 MB, free: 2.602 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches