Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 111.3 kB / 18.45 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.001271/0.001271, allocations: 186.2 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.339/1.339, 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.2039/0.2039, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3909, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002818/0.3938, allocations: 1.583 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.3946, allocations: 414.3 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.3946, allocations: 2.156 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3949, allocations: 72.19 kB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3951, allocations: 67.41 kB / 0.5217 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3955, allocations: 108.8 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3956, allocations: 73.88 kB / 0.5218 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3958, allocations: 19.09 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3958, allocations: 38.61 kB / 0.5219 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.396, allocations: 53.75 kB / 0.5219 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.396, allocations: 2.344 kB / 0.5219 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.3961, allocations: 43.88 kB / 0.522 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.3961, allocations: 27.72 kB / 0.522 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.3962, allocations: 25.34 kB / 0.522 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3964, allocations: 100.9 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3964, allocations: 0 / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3964, allocations: 3.938 kB / 0.5221 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3964, allocations: 5.375 kB / 0.5221 GB, free: 1.984 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.000413/0.3969, allocations: 397.7 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3969, allocations: 9.062 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.3969, allocations: 14.66 kB / 0.5225 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3971, allocations: 192.3 kB / 0.5227 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3971, allocations: 10.53 kB / 0.5227 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3972, allocations: 6.766 kB / 0.5227 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3973, allocations: 57.67 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3973, allocations: 0.5625 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3973, allocations: 1.344 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3973, allocations: 3.938 kB / 0.5228 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.3974, allocations: 29.92 kB / 0.5228 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.3978, allocations: 300.5 kB / 0.5231 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3979, allocations: 50.25 kB / 0.5232 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.398, allocations: 19.62 kB / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.398, allocations: 0.9375 kB / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.398, allocations: 36.25 kB / 0.5232 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3981, allocations: 4 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008764/0.3989, allocations: 230.5 kB / 0.5235 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.399, allocations: 52.75 kB / 0.5235 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3992, allocations: 206.2 kB / 0.5237 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.3992, allocations: 38.67 kB / 0.5237 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3992, allocations: 108.3 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3993, allocations: 29.78 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.3993, allocations: 20.94 kB / 0.5239 GB, free: 464 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.3994, allocations: 322.3 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.3995, allocations: 29.78 kB / 0.5242 GB, free: 132 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.3996, allocations: 31.25 kB / 0.5243 GB, free: 124 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3997, allocations: 83.53 kB / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3997, allocations: 0 / 0.5243 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002016/0.3999, allocations: 109.8 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4, allocations: 5.781 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4, allocations: 0 / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4, allocations: 0 / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.4001, allocations: 17.66 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4001, allocations: 9.219 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.4002, allocations: 5.156 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.4002, allocations: 5.5 kB / 0.5245 GB, free: 16 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 0.0001383/0.4003, allocations: 128.9 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.4004, allocations: 8.562 kB / 0.5246 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.4007, allocations: 131.2 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4007, allocations: 0.5156 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4007, allocations: 8.844 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4007, allocations: 0.5156 kB / 0.5247 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4013, allocations: 413.5 kB / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4013, allocations: 0 / 0.5251 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.4014, allocations: 29.66 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4014, allocations: 432 / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.4014, allocations: 1.844 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4014, allocations: 6.609 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4014, allocations: 0 / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4017, allocations: 209.2 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.4017, allocations: 92.75 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4018, allocations: 2.109 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.4018, allocations: 12.52 kB / 0.5255 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.4019, allocations: 11.06 kB / 0.5255 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4019, allocations: 5.375 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.402, allocations: 155.7 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.402, allocations: 5.25 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.4023, allocations: 23.72 kB / 0.5257 GB, free: 15.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001044/0.4034, allocations: 454.8 kB / 0.5261 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.4036, allocations: 75.95 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4036, allocations: 0 / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.4037, allocations: 42.19 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4041, allocations: 23.8 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.4046, allocations: 289.1 kB / 0.5265 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4049, allocations: 0.7165 MB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.405, allocations: 15.48 kB / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.405, allocations: 0 / 0.5272 GB, free: 13.88 MB / 398.1 MB Notification: Performance of Templates: time 0.003719/0.4087, allocations: 1.764 MB / 0.5289 GB, free: 13.23 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches