Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001198/0.001198, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.267/1.267, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.202/0.202, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002393/0.3238, allocations: 1.575 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.3244, allocations: 401.9 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.3245, allocations: 0 / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.3247, allocations: 30.17 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3248, allocations: 29.16 kB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3251, allocations: 113.9 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3252, allocations: 51.86 kB / 0.5217 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.3253, allocations: 16.41 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.3254, allocations: 22.06 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.3254, allocations: 20.48 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3254, allocations: 2.156 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.887e-05/0.3255, allocations: 30.27 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.3256, allocations: 23.23 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.3256, allocations: 24.81 kB / 0.5218 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.3257, allocations: 74.86 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3258, allocations: 0 / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3258, allocations: 1.906 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3258, allocations: 0 / 0.5219 GB, free: 2.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003401/0.3261, allocations: 378.5 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.3262, allocations: 9.875 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3262, allocations: 5.016 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3263, allocations: 194.5 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3263, allocations: 9.625 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.3264, allocations: 2.422 kB / 0.5225 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3265, allocations: 49.56 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3265, allocations: 0 / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3265, allocations: 1.609 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3265, allocations: 0 / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.3266, allocations: 28.75 kB / 0.5226 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.3269, allocations: 280.1 kB / 0.5228 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3271, allocations: 46.28 kB / 0.5229 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.3271, allocations: 18.8 kB / 0.5229 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3272, allocations: 0 / 0.5229 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.3272, allocations: 32.62 kB / 0.5229 GB, free: 1.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.3272, allocations: 0 / 0.5229 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004821/0.3277, allocations: 151.1 kB / 0.5231 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3277, allocations: 56.5 kB / 0.5231 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3278, allocations: 151.2 kB / 0.5233 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.3278, allocations: 27.08 kB / 0.5233 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.3279, allocations: 101.5 kB / 0.5234 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3279, allocations: 15.31 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3279, allocations: 22.58 kB / 0.5234 GB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.328, allocations: 324.2 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.328, allocations: 19.98 kB / 0.5238 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.3281, allocations: 21 kB / 0.5238 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3282, allocations: 55.81 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3283, allocations: 1.25 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/0.3284, allocations: 88.64 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3284, allocations: 5.75 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3284, allocations: 0 / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3285, allocations: 5.953 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.3285, allocations: 11.2 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3285, allocations: 1.156 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/0.3286, allocations: 9.422 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3286, allocations: 5.438 kB / 0.524 GB, free: 216 kB / 382.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 (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 5.223e-05/0.3287, allocations: 124.6 kB / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.3287, allocations: 8.25 kB / 0.5241 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.3289, allocations: 99.42 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3289, allocations: 0 / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3289, allocations: 1.281 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3289, allocations: 4.688 kB / 0.5242 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.3293, allocations: 360.9 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3294, allocations: 0.9688 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.3294, allocations: 12.8 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3294, allocations: 0 / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3294, allocations: 1.188 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3295, allocations: 4.734 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3295, allocations: 1.281 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3297, allocations: 184.4 kB / 0.5247 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.3297, allocations: 83.98 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.3298, allocations: 9.938 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3298, allocations: 12.88 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.3299, allocations: 3.375 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3299, allocations: 1.891 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.089e-05/0.33, allocations: 119.7 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.33, allocations: 0 / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3302, allocations: 15.17 kB / 0.525 GB, free: 15.32 MB / 398.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: 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.0008249/0.331, allocations: 402.8 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.3312, allocations: 52.7 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3312, allocations: 0 / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.3313, allocations: 30.28 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.3316, allocations: 13.77 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.332, allocations: 211.8 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.3323, allocations: 0.6962 MB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.3323, allocations: 12.39 kB / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3323, allocations: 0 / 0.5263 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Templates: time 0.002921/0.3352, allocations: 1.436 MB / 0.5277 GB, free: 13.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches