Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 113.9 kB / 18.46 MB, free: 4.621 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.001747/0.001747, allocations: 186.1 kB / 19.38 MB, free: 3.699 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.327/1.327, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1971/0.1971, allocations: 44.2 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.84 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2936, allocations: 60.82 MB / 0.5196 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00249/0.2961, allocations: 1.588 MB / 0.5211 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.2968, allocations: 418.9 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.2968, allocations: 1.531 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2971, allocations: 72.22 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.2973, allocations: 64.98 kB / 0.5217 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.2975, allocations: 108.2 kB / 0.5218 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2977, allocations: 72.11 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.2978, allocations: 19.53 kB / 0.5219 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.2978, allocations: 36.77 kB / 0.5219 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.2979, allocations: 46.77 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.298, allocations: 3.188 kB / 0.5219 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.424e-05/0.298, allocations: 39.55 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.2981, allocations: 13.8 kB / 0.522 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2981, allocations: 30.84 kB / 0.522 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.2983, allocations: 106.7 kB / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2983, allocations: 0 / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2983, allocations: 4 kB / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2983, allocations: 0 / 0.5221 GB, free: 2.016 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.0003396/0.2987, allocations: 396.5 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2987, allocations: 9.062 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.2987, allocations: 9.438 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.2989, allocations: 200.8 kB / 0.5227 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-06/0.2989, allocations: 6.406 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2989, allocations: 6.469 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.299, allocations: 62.11 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2991, allocations: 0 / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2991, allocations: 4 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2991, allocations: 2.016 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.2992, allocations: 25.98 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.2995, allocations: 291.5 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.831e-05/0.2996, allocations: 52.98 kB / 0.5232 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.2996, allocations: 15.91 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.2997, allocations: 1.25 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.049e-05/0.2997, allocations: 36.45 kB / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2997, allocations: 0 / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008083/0.3005, allocations: 237.7 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.375e-05/0.3005, allocations: 53.12 kB / 0.5235 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3007, allocations: 192.9 kB / 0.5237 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.3007, allocations: 30.83 kB / 0.5237 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.3008, allocations: 99.5 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3008, allocations: 25.47 kB / 0.5238 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.3008, allocations: 28.92 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.3009, allocations: 331.4 kB / 0.5242 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.301, allocations: 26.02 kB / 0.5242 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.3011, allocations: 33.75 kB / 0.5242 GB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3012, allocations: 75.59 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3012, allocations: 1 kB / 0.5243 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002074/0.3014, allocations: 117.2 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3015, allocations: 4.875 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3015, allocations: 0 / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3015, allocations: 1.031 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.3016, allocations: 20.97 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3016, allocations: 1.891 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.3017, allocations: 11.38 kB / 0.5244 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3017, allocations: 6.984 kB / 0.5244 GB, free: 60 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 (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.243e-05/0.3018, allocations: 130.6 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3018, allocations: 12.27 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3021, allocations: 124 kB / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3021, allocations: 0 / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3021, allocations: 0.5156 kB / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3022, allocations: 88.66 kB / 0.5248 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3022, allocations: 0.7031 kB / 0.5248 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.3023, allocations: 8.625 kB / 0.5248 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3023, allocations: 10.22 kB / 0.5248 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002611/0.3026, allocations: 191.6 kB / 0.525 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002706/0.3029, allocations: 285 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.331e-05/0.303, allocations: 39.34 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3031, allocations: 152.6 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.3031, allocations: 3.938 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.3044, allocations: 0.4906 MB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005464/0.3049, allocations: 0.6639 MB / 0.5266 GB, free: 14.43 MB / 398.1 MB Notification: Performance of Templates: time 0.003957/0.3089, allocations: 1.529 MB / 0.5281 GB, free: 14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches