Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, 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.477/1.477, allocations: 222.9 MB / 241.6 MB, free: 11.01 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.001522/0.001522, allocations: 97.72 kB / 291.9 MB, free: 10.98 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.3335/0.3335, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 59.91 kB / 457.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3645, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.005293/0.3699, allocations: 1.668 MB / 0.508 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3712, allocations: 423 kB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.3713, allocations: 3.125 kB / 0.5084 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.3717, allocations: 94.45 kB / 0.5085 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3719, allocations: 58.16 kB / 0.5086 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.3724, allocations: 107.3 kB / 0.5087 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.3727, allocations: 89.77 kB / 0.5088 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3729, allocations: 37.05 kB / 0.5088 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.373, allocations: 41.28 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3732, allocations: 57.02 kB / 0.5089 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3732, allocations: 4.438 kB / 0.5089 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3734, allocations: 47.09 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.3735, allocations: 26.61 kB / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3735, allocations: 32.69 kB / 0.509 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3737, allocations: 117.7 kB / 0.5091 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3738, allocations: 3.938 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3738, allocations: 0 / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3738, allocations: 4 kB / 0.5091 GB, free: 36.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005286/0.3743, allocations: 430 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3744, allocations: 8.312 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.3745, allocations: 13.47 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.3747, allocations: 214.9 kB / 0.5098 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3747, allocations: 384 / 0.5098 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.3747, allocations: 10.09 kB / 0.5098 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3749, allocations: 79.55 kB / 0.5098 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.375, allocations: 2.781 kB / 0.5098 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.375, allocations: 7.984 kB / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.375, allocations: 0 / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3752, allocations: 48.14 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.3758, allocations: 329.5 kB / 0.5102 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.376, allocations: 78.98 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.376, allocations: 24.38 kB / 0.5103 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3761, allocations: 4.141 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3761, allocations: 37.05 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3761, allocations: 0 / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.00134/0.3775, allocations: 329.5 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.3775, allocations: 51.41 kB / 0.5107 GB, free: 35.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.3778, allocations: 233.4 kB / 0.5109 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3778, allocations: 29.7 kB / 0.511 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.3778, allocations: 113.1 kB / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.3779, allocations: 48.52 kB / 0.5111 GB, free: 34.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.378, allocations: 32.42 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.378, allocations: 324.9 kB / 0.5115 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3782, allocations: 44.55 kB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3783, allocations: 50.33 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3786, allocations: 106.2 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3786, allocations: 4 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003517/0.379, allocations: 157.2 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.379, allocations: 7.281 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3791, allocations: 7.172 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3791, allocations: 3.938 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3792, allocations: 25.91 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3793, allocations: 0 / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.3793, allocations: 6.031 kB / 0.5118 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3794, allocations: 2.594 kB / 0.5119 GB, free: 34.44 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 (13): * Single equations (assignments): 13 * 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.0001042/0.3795, allocations: 145.4 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.3796, allocations: 13.06 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.38, allocations: 187.8 kB / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.38, allocations: 2.562 kB / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3801, allocations: 0 / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3801, allocations: 0 / 0.5122 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008098/0.3809, allocations: 0.4934 MB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3809, allocations: 2.75 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3811, allocations: 27 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3811, allocations: 0 / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3811, allocations: 5.984 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3811, allocations: 4.031 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3811, allocations: 3.031 kB / 0.5127 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.3819, allocations: 0.8706 MB / 0.5136 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.3819, allocations: 91.22 kB / 0.5136 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3819, allocations: 4 kB / 0.5136 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3821, allocations: 5.906 kB / 0.5137 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.3821, allocations: 14.2 kB / 0.5137 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3822, allocations: 9.25 kB / 0.5137 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.3823, allocations: 170.5 kB / 0.5138 GB, free: 32.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3824, allocations: 0 / 0.5138 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006582/0.383, allocations: 27.12 kB / 0.5139 GB, free: 32.81 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.001389/0.3844, allocations: 467 kB / 0.5143 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.3848, allocations: 110.8 kB / 0.5144 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3848, allocations: 4 kB / 0.5144 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.385, allocations: 56.7 kB / 0.5145 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.3856, allocations: 19.33 kB / 0.5145 GB, free: 32.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.3864, allocations: 0.5028 MB / 0.515 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.3866, allocations: 0.7225 MB / 0.5157 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.3867, allocations: 27.83 kB / 0.5157 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.3868, allocations: 18.72 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3868, allocations: 1.125 kB / 0.5157 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Templates: time 0.005119/0.392, allocations: 1.54 MB / 0.5172 GB, free: 31.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches