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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 101.7 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3682/0.3682, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001022, allocations: 55.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3944, allocations: 60.8 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003669/0.3981, allocations: 1.638 MB / 0.508 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3997, allocations: 1.015 MB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.3998, allocations: 0 / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.4, allocations: 14.31 kB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.4003, allocations: 41.8 kB / 0.509 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4006, allocations: 104 kB / 0.5091 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4007, allocations: 64 kB / 0.5092 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.4009, allocations: 21.97 kB / 0.5092 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.4009, allocations: 31.02 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.4011, allocations: 37.17 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4011, allocations: 2.875 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.4012, allocations: 44.27 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.4013, allocations: 10.08 kB / 0.5093 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.4013, allocations: 32.66 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4015, allocations: 95.66 kB / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4015, allocations: 0 / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4016, allocations: 0 / 0.5095 GB, free: 36.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.4016, allocations: 0 / 0.5095 GB, free: 36.3 MB / 378.7 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.0004598/0.402, allocations: 394.8 kB / 0.5098 GB, free: 35.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4021, allocations: 11.97 kB / 0.5098 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4021, allocations: 11.84 kB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4023, allocations: 190.9 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4023, allocations: 3.375 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4024, allocations: 3.281 kB / 0.51 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4025, allocations: 84.67 kB / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4025, allocations: 0 / 0.5101 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4026, allocations: 4 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4026, allocations: 2.875 kB / 0.5101 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4027, allocations: 34.91 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.4031, allocations: 311.2 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4032, allocations: 53.27 kB / 0.5105 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.4033, allocations: 20.86 kB / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4033, allocations: 3.375 kB / 0.5105 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4033, allocations: 33.41 kB / 0.5106 GB, free: 35.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4033, allocations: 0 / 0.5106 GB, free: 35.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006352/0.404, allocations: 198.2 kB / 0.5108 GB, free: 35.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.404, allocations: 81.11 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4041, allocations: 150.1 kB / 0.511 GB, free: 34.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4042, allocations: 25.7 kB / 0.511 GB, free: 34.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.4042, allocations: 102.3 kB / 0.5111 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.4042, allocations: 22.56 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4043, allocations: 30.41 kB / 0.5112 GB, free: 34.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.4043, allocations: 314 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.4044, allocations: 33.25 kB / 0.5115 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.4045, allocations: 46.42 kB / 0.5115 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4046, allocations: 69.42 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4047, allocations: 2.656 kB / 0.5116 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001851/0.4048, allocations: 103.4 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4049, allocations: 9.844 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4049, allocations: 0 / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4049, allocations: 0 / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.405, allocations: 21.12 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.405, allocations: 3.938 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.4051, allocations: 9.062 kB / 0.5117 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4051, allocations: 4 kB / 0.5117 GB, free: 34.3 MB / 378.7 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 7.304e-05/0.4052, allocations: 123.5 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4052, allocations: 9.75 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.4055, allocations: 139.9 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4055, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4055, allocations: 3.938 kB / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4055, allocations: 0 / 0.512 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.4059, allocations: 391.7 kB / 0.5124 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4059, allocations: 4 kB / 0.5124 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.406, allocations: 21.69 kB / 0.5124 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.406, allocations: 3.938 kB / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.406, allocations: 2.875 kB / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.406, allocations: 0 / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.406, allocations: 0 / 0.5124 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.4064, allocations: 0.7964 MB / 0.5132 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.4065, allocations: 87.8 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4065, allocations: 0 / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.4065, allocations: 6.125 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.4066, allocations: 6.156 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4066, allocations: 2.844 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.88e-05/0.4067, allocations: 110 kB / 0.5134 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4067, allocations: 4 kB / 0.5134 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.407, allocations: 28.84 kB / 0.5134 GB, free: 32.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009155/0.4079, allocations: 444.5 kB / 0.5138 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4082, allocations: 79.03 kB / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4082, allocations: 0 / 0.5139 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.4083, allocations: 39.8 kB / 0.514 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4086, allocations: 20.89 kB / 0.514 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.4091, allocations: 347.8 kB / 0.5143 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.4092, allocations: 0.7051 MB / 0.515 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.4093, allocations: 19.31 kB / 0.515 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.4093, allocations: 15.16 kB / 0.515 GB, free: 31.53 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4093, allocations: 0 / 0.515 GB, free: 31.53 MB / 378.7 MB Notification: Performance of Templates: time 0.003617/0.413, allocations: 1.442 MB / 0.5164 GB, free: 31.35 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches