Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 112.6 kB / 18.45 MB, free: 4.598 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.001197/0.001197, allocations: 187.2 kB / 19.38 MB, free: 3.676 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.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.12 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.2123/0.2123, allocations: 44.17 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003352/0.2968, allocations: 1.589 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2981, allocations: 1.029 MB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.2981, allocations: 5.312 kB / 0.5221 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.2983, allocations: 24.25 kB / 0.5222 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2985, allocations: 46.03 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.2988, allocations: 108 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.299, allocations: 70.41 kB / 0.5224 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.2991, allocations: 25.69 kB / 0.5224 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.2991, allocations: 28.61 kB / 0.5224 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2992, allocations: 32.72 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2993, allocations: 3.438 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.2994, allocations: 51.34 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.2994, allocations: 11.52 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.2995, allocations: 31.77 kB / 0.5226 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.2996, allocations: 105.2 kB / 0.5227 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2997, allocations: 0.7031 kB / 0.5227 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2997, allocations: 5.5 kB / 0.5227 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.2997, allocations: 0 / 0.5227 GB, free: 1.523 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003443/0.3, allocations: 383.1 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3001, allocations: 9.188 kB / 0.523 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3001, allocations: 9.344 kB / 0.5231 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3002, allocations: 196 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3003, allocations: 2.031 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3003, allocations: 4.062 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3004, allocations: 84.61 kB / 0.5233 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3005, allocations: 4.656 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3005, allocations: 1.312 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3005, allocations: 5.062 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3006, allocations: 39.31 kB / 0.5234 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.3009, allocations: 305.5 kB / 0.5237 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.3011, allocations: 58.42 kB / 0.5237 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.3011, allocations: 22.36 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3011, allocations: 2.328 kB / 0.5237 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.3012, allocations: 30.56 kB / 0.5238 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3012, allocations: 1.906 kB / 0.5238 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005937/0.3018, allocations: 195.9 kB / 0.524 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.3018, allocations: 80.16 kB / 0.524 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.3019, allocations: 145.4 kB / 0.5242 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.3019, allocations: 26.67 kB / 0.5242 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.302, allocations: 93.56 kB / 0.5243 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.302, allocations: 29.98 kB / 0.5243 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.302, allocations: 25.08 kB / 0.5243 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3022, allocations: 323.3 kB / 0.5247 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.3023, allocations: 31.31 kB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.925e-05/0.3024, allocations: 42.81 kB / 0.5247 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3025, allocations: 75.61 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3025, allocations: 0 / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002268/0.3028, allocations: 111.4 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3028, allocations: 5.219 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3028, allocations: 0.6562 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3028, allocations: 1.344 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.3029, allocations: 16.39 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3029, allocations: 0.875 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.303, allocations: 9.578 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.303, allocations: 2.625 kB / 0.5249 GB, free: 15.54 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 8.175e-05/0.3031, allocations: 125.5 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.3031, allocations: 7.906 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.3034, allocations: 124.6 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3034, allocations: 4.641 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3035, allocations: 0 / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3035, allocations: 88.53 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3035, allocations: 4.703 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3036, allocations: 9.031 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.3036, allocations: 10.12 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000267/0.3039, allocations: 186.9 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002795/0.3042, allocations: 289.2 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.259e-05/0.3043, allocations: 39.19 kB / 0.5258 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.538e-05/0.3044, allocations: 110.5 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.3044, allocations: 0 / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.3057, allocations: 478.6 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005406/0.3063, allocations: 0.6205 MB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.00431/0.3106, allocations: 1.687 MB / 0.5286 GB, free: 13.44 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches