Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00108/0.00108, allocations: 179.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.83 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3384, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00321/0.3416, allocations: 1.593 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007455/0.3424, allocations: 414.6 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.3425, allocations: 1.062 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.3427, allocations: 91.84 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.343, allocations: 75.78 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.3433, allocations: 104.8 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3435, allocations: 78.95 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3436, allocations: 15.78 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.3437, allocations: 42.95 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3438, allocations: 50.03 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3438, allocations: 2.531 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3439, allocations: 44.11 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.344, allocations: 19.16 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.344, allocations: 31.42 kB / 0.5214 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3442, allocations: 111 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3442, allocations: 0 / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3443, allocations: 0 / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3443, allocations: 1.281 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004261/0.3447, allocations: 413.4 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3447, allocations: 9.969 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.3448, allocations: 21.75 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3449, allocations: 194.8 kB / 0.5221 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3449, allocations: 5.781 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.345, allocations: 3.484 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3451, allocations: 57.3 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3451, allocations: 5.062 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3451, allocations: 0.7969 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3452, allocations: 9.125 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.3453, allocations: 25.19 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3456, allocations: 302.7 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.3457, allocations: 53.17 kB / 0.5226 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.3458, allocations: 19.47 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3458, allocations: 5.859 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3458, allocations: 35.56 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3458, allocations: 0 / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008486/0.3467, allocations: 239.6 kB / 0.5229 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3467, allocations: 53.62 kB / 0.5229 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.3469, allocations: 228 kB / 0.5231 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3469, allocations: 27.55 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.347, allocations: 108.4 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.347, allocations: 25.52 kB / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.347, allocations: 25.98 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.3471, allocations: 322.2 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3472, allocations: 33.52 kB / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.3473, allocations: 30.89 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3474, allocations: 76.45 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3474, allocations: 0 / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.3477, allocations: 118.2 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3477, allocations: 4.531 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3477, allocations: 5.062 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3477, allocations: 0.7969 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.3478, allocations: 20.59 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3478, allocations: 6.5 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.3479, allocations: 3.469 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3479, allocations: 7 kB / 0.5239 GB, free: 15.97 MB / 398.1 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.203e-05/0.348, allocations: 129 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.348, allocations: 14.5 kB / 0.524 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.3483, allocations: 134.9 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3483, allocations: 2.203 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3484, allocations: 5.281 kB / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3484, allocations: 0 / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.3489, allocations: 414.1 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3489, allocations: 0.75 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.349, allocations: 29.27 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.349, allocations: 1.031 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.349, allocations: 1.734 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.349, allocations: 1.031 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.349, allocations: 1.734 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.3493, allocations: 214.4 kB / 0.5248 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.3493, allocations: 92.22 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3493, allocations: 10.2 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3494, allocations: 5.344 kB / 0.5249 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3495, allocations: 9.406 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3495, allocations: 2.875 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3496, allocations: 173.3 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3496, allocations: 0 / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3499, allocations: 20.45 kB / 0.5251 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0009785/0.3508, allocations: 469.3 kB / 0.5256 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.3511, allocations: 78.92 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3511, allocations: 0 / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.3512, allocations: 39.84 kB / 0.5257 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3515, allocations: 18.5 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.3519, allocations: 268.1 kB / 0.5259 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3522, allocations: 0.7198 MB / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.417e-05/0.3523, allocations: 16.34 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.3523, allocations: 13.5 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3523, allocations: 0 / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.003603/0.3559, allocations: 1.383 MB / 0.528 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches