Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 109.6 kB / 18.45 MB, free: 4.613 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.001811/0.001811, allocations: 184.2 kB / 19.38 MB, free: 3.691 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.313/1.313, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.1998/0.1998, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2892, allocations: 60.81 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002677/0.2919, allocations: 1.583 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000627/0.2926, allocations: 400.5 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.2926, allocations: 1.031 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2928, allocations: 28.92 kB / 0.5215 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.293, allocations: 32.98 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.2933, allocations: 111.1 kB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2934, allocations: 56.22 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.2935, allocations: 11.53 kB / 0.5217 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.2935, allocations: 18.64 kB / 0.5218 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.2936, allocations: 20.16 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2936, allocations: 2.656 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.015e-05/0.2937, allocations: 37.92 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.2937, allocations: 19.44 kB / 0.5218 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.258e-05/0.2938, allocations: 21.45 kB / 0.5219 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2939, allocations: 74.92 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2939, allocations: 4.75 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2939, allocations: 0 / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2939, 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.0003393/0.2943, allocations: 376 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2943, allocations: 9.125 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.2944, allocations: 5.344 kB / 0.5223 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2945, allocations: 194.6 kB / 0.5225 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2945, allocations: 5.5 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.2945, allocations: 1.5 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.2947, allocations: 54.66 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2947, allocations: 4.797 kB / 0.5226 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2947, allocations: 1.094 kB / 0.5226 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2947, allocations: 0 / 0.5226 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.2948, allocations: 23.75 kB / 0.5226 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.2951, allocations: 277.1 kB / 0.5228 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.2953, allocations: 53.19 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.718e-05/0.2953, allocations: 18.62 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2954, allocations: 2.312 kB / 0.5229 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.041e-05/0.2954, allocations: 30.56 kB / 0.5229 GB, free: 1.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.2954, allocations: 0 / 0.5229 GB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004976/0.2959, allocations: 151.5 kB / 0.5231 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.317e-05/0.2959, allocations: 56.92 kB / 0.5231 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.296, allocations: 151.5 kB / 0.5233 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.296, allocations: 30.83 kB / 0.5233 GB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.2961, allocations: 101.6 kB / 0.5234 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.2961, allocations: 10.77 kB / 0.5234 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.2961, allocations: 19.72 kB / 0.5234 GB, free: 0.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.2962, allocations: 328.5 kB / 0.5238 GB, free: 308 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.2962, allocations: 19.5 kB / 0.5238 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.2963, allocations: 21.14 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2965, allocations: 56.41 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2965, allocations: 0 / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001714/0.2966, allocations: 85.17 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.2967, allocations: 8.344 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2967, allocations: 1.875 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2967, allocations: 0 / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.2967, allocations: 16.78 kB / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2968, allocations: 0 / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.2968, allocations: 5.297 kB / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.2968, allocations: 5.125 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.416e-05/0.2969, allocations: 126.7 kB / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.2969, allocations: 11.19 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.2971, allocations: 94.17 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2971, allocations: 0.7969 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2972, allocations: 1.156 kB / 0.5242 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.2972, allocations: 82.94 kB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.2972, allocations: 5.719 kB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.2973, allocations: 4.562 kB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2974, allocations: 8.031 kB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002333/0.2976, allocations: 171.5 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002418/0.2979, allocations: 252.9 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.226e-05/0.2979, allocations: 31.78 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.386e-05/0.298, allocations: 117.8 kB / 0.5248 GB, free: 15.47 MB / 398.1 MB Notification: Performance of Backend: time 2.6e-07/0.298, allocations: 4 kB / 0.5248 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.2992, allocations: 418.7 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005027/0.2997, allocations: 0.624 MB / 0.5258 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003449/0.3032, allocations: 1.26 MB / 0.5271 GB, free: 14.48 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches