Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 105.3 kB / 18.45 MB, free: 4.625 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.001171/0.001171, allocations: 181.1 kB / 19.37 MB, free: 3.707 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.22/1.22, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1817/0.1817, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3058, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002865/0.3087, allocations: 1.563 MB / 0.5211 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.3094, allocations: 400.8 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.3095, allocations: 0 / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.3097, allocations: 26.58 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.3099, allocations: 32.02 kB / 0.5215 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3102, allocations: 96.42 kB / 0.5216 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3104, allocations: 54.12 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3105, allocations: 8.531 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.3105, allocations: 23 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.781e-05/0.3106, allocations: 19.64 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3106, allocations: 2.719 kB / 0.5217 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.3107, allocations: 33.84 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.3108, allocations: 10.34 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.3108, allocations: 29.55 kB / 0.5218 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.311, allocations: 81.5 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.311, allocations: 0.7031 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.311, allocations: 0 / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.311, allocations: 1.219 kB / 0.5219 GB, free: 2.059 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.0003806/0.3114, allocations: 375.2 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3114, allocations: 10.3 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3115, allocations: 4.156 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3116, allocations: 190.2 kB / 0.5224 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3117, allocations: 6.375 kB / 0.5225 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3117, allocations: 5.484 kB / 0.5225 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.3118, allocations: 49.16 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3118, allocations: 5.031 kB / 0.5225 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3119, allocations: 4 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3119, allocations: 1.656 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.312, allocations: 21.77 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.3122, allocations: 278.2 kB / 0.5228 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3124, allocations: 43.88 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.3125, allocations: 14.06 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3125, allocations: 1.031 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3125, allocations: 35.22 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3125, allocations: 1.531 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005018/0.3131, allocations: 138.5 kB / 0.523 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3131, allocations: 56.88 kB / 0.5231 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3132, allocations: 152.3 kB / 0.5232 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3132, allocations: 30.86 kB / 0.5233 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.3133, allocations: 101.8 kB / 0.5233 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3133, allocations: 11.5 kB / 0.5234 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.3133, allocations: 22.38 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.3134, allocations: 324 kB / 0.5237 GB, free: 316 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.872e-05/0.3135, allocations: 18.2 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.3135, allocations: 15.25 kB / 0.5237 GB, free: 312 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3137, allocations: 46.27 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3137, allocations: 1.062 kB / 0.5238 GB, free: 292 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001691/0.3138, allocations: 84.55 kB / 0.5238 GB, free: 240 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3139, allocations: 5.344 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3139, allocations: 4.656 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3139, allocations: 1.094 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.314, allocations: 12.58 kB / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.314, allocations: 0 / 0.5239 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.314, allocations: 9.656 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.314, allocations: 4.906 kB / 0.5239 GB, free: 228 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.821e-05/0.3141, allocations: 121 kB / 0.524 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3141, allocations: 7.656 kB / 0.524 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3143, allocations: 93.8 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3144, allocations: 0.75 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3144, allocations: 1.312 kB / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3144, allocations: 0 / 0.5241 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.3148, allocations: 347.1 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3148, allocations: 0.7969 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3149, allocations: 15.47 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3149, allocations: 1.766 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.3149, allocations: 0 / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3149, allocations: 5.188 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3149, allocations: 0.75 kB / 0.5245 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3151, allocations: 177.2 kB / 0.5246 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.3152, allocations: 83.12 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3152, allocations: 2.219 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.3153, allocations: 12.59 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.3153, allocations: 7.406 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3153, allocations: 5.75 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.3154, allocations: 119.3 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3154, allocations: 0 / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3157, allocations: 18.95 kB / 0.5249 GB, free: 15.35 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.0008629/0.3165, allocations: 409 kB / 0.5252 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3167, allocations: 43.36 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3168, allocations: 1.094 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.3168, allocations: 23.61 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.3172, allocations: 14.06 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.3175, allocations: 213.1 kB / 0.5255 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3178, allocations: 0.6951 MB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.3178, allocations: 13.22 kB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3178, allocations: 0 / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003232/0.3211, allocations: 1.398 MB / 0.5276 GB, free: 13.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches