Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 105.5 kB / 18.45 MB, free: 4.602 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.001789/0.001789, allocations: 184.3 kB / 19.39 MB, free: 3.68 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.337/1.337, 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.2019/0.2019, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002736/0.3088, allocations: 1.563 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3102, allocations: 1.033 MB / 0.5221 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3103, allocations: 3.938 kB / 0.5221 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.3105, allocations: 20.59 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3107, allocations: 45.36 kB / 0.5222 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3111, allocations: 103.5 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3112, allocations: 55.45 kB / 0.5223 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.3113, allocations: 21.05 kB / 0.5224 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.3114, allocations: 19.17 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3115, allocations: 25.58 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3115, allocations: 2.969 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3117, allocations: 54.17 kB / 0.5225 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.3117, allocations: 13.34 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.3117, allocations: 21.77 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3119, allocations: 90.67 kB / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.312, allocations: 0 / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.312, allocations: 1.094 kB / 0.5226 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.312, allocations: 4 kB / 0.5226 GB, free: 1.559 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.0003635/0.3123, allocations: 370.1 kB / 0.5229 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3124, allocations: 8.828 kB / 0.5229 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3124, allocations: 12.44 kB / 0.523 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3126, allocations: 187.7 kB / 0.5231 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3126, allocations: 1.5 kB / 0.5231 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.3126, allocations: 7.031 kB / 0.5231 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3128, allocations: 70.06 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3128, allocations: 1.406 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3128, allocations: 0 / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3128, allocations: 1.219 kB / 0.5232 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.3129, allocations: 23.36 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.3132, allocations: 286.9 kB / 0.5235 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3134, allocations: 50.59 kB / 0.5236 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.3135, allocations: 18.44 kB / 0.5236 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3135, allocations: 0.9375 kB / 0.5236 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.3135, allocations: 32.3 kB / 0.5236 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.3135, allocations: 0 / 0.5236 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000536/0.3141, allocations: 154.3 kB / 0.5238 GB, free: 460 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3141, allocations: 78.95 kB / 0.5238 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3142, allocations: 131.5 kB / 0.524 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.3142, allocations: 26.89 kB / 0.524 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.3143, allocations: 91.73 kB / 0.5241 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3143, allocations: 15.39 kB / 0.5241 GB, free: 116 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3143, allocations: 19.64 kB / 0.5241 GB, free: 96 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3145, allocations: 327.3 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.3145, allocations: 21.55 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.3146, allocations: 35.94 kB / 0.5245 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3148, allocations: 51.45 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3148, allocations: 1.281 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002091/0.315, allocations: 92.77 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.315, allocations: 5.031 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.315, allocations: 0.5156 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3151, allocations: 1.719 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.3151, allocations: 11.45 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3151, allocations: 2.594 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.3152, allocations: 5.328 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3152, allocations: 7.875 kB / 0.5246 GB, free: 15.66 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 (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 7.893e-05/0.3153, allocations: 122.6 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3153, allocations: 7.766 kB / 0.5248 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3156, allocations: 96.97 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3156, allocations: 1.719 kB / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3156, allocations: 320 / 0.5249 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.3156, allocations: 80.03 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3157, allocations: 9.562 kB / 0.5249 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.3157, allocations: 8.188 kB / 0.525 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.3158, allocations: 7.875 kB / 0.525 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002394/0.316, allocations: 163.7 kB / 0.5251 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002623/0.3163, allocations: 257 kB / 0.5254 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.266e-05/0.3164, allocations: 24.47 kB / 0.5254 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.952e-05/0.3165, allocations: 115.8 kB / 0.5255 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.3165, allocations: 0 / 0.5255 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3179, allocations: 470.7 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005973/0.3185, allocations: 0.6005 MB / 0.5265 GB, free: 14.12 MB / 398.1 MB Notification: Performance of Templates: time 0.004204/0.3227, allocations: 1.503 MB / 0.528 GB, free: 13.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches