Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, 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.383/1.383, allocations: 222.9 MB / 241.6 MB, free: 11 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.001201/0.001201, allocations: 110.2 kB / 291.9 MB, free: 10.96 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.3763/0.3763, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 60.14 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3539, allocations: 60.8 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002534/0.3565, allocations: 1.628 MB / 0.508 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.3572, allocations: 402.8 kB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.3573, allocations: 1.062 kB / 0.5084 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3576, allocations: 94.64 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3577, allocations: 55.52 kB / 0.5085 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.358, allocations: 83.52 kB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.3581, allocations: 76 kB / 0.5087 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.3582, allocations: 24.8 kB / 0.5087 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.3583, allocations: 24.92 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.3584, allocations: 59.05 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3584, allocations: 2.906 kB / 0.5088 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.3585, allocations: 41.23 kB / 0.5088 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.3585, allocations: 23.44 kB / 0.5088 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.3586, allocations: 36.45 kB / 0.5089 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3587, allocations: 99.59 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3587, allocations: 4 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3587, allocations: 0 / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3587, allocations: 0 / 0.509 GB, free: 36.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003814/0.3591, allocations: 413.5 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3592, allocations: 8.875 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.3592, allocations: 18.72 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3594, allocations: 196.2 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3594, allocations: 4.375 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3594, allocations: 3.781 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3595, allocations: 60.89 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3595, allocations: 4 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3596, allocations: 0 / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3596, allocations: 0 / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.3597, allocations: 27.72 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.36, allocations: 297.7 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.3601, allocations: 46.42 kB / 0.51 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.3601, allocations: 16.86 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3601, allocations: 5.828 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3602, allocations: 30.56 kB / 0.51 GB, free: 35.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3602, allocations: 3.938 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007488/0.3609, allocations: 225 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.361, allocations: 53.88 kB / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3611, allocations: 224.2 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.3611, allocations: 25.7 kB / 0.5106 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.3612, allocations: 108.9 kB / 0.5107 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3612, allocations: 29.73 kB / 0.5107 GB, free: 35.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3612, allocations: 19.38 kB / 0.5107 GB, free: 35.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.3613, allocations: 328.1 kB / 0.511 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.3614, allocations: 26.44 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.3615, allocations: 24.45 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3616, allocations: 56.59 kB / 0.5111 GB, free: 34.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3616, allocations: 4 kB / 0.5111 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000174/0.3618, allocations: 105.4 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3618, allocations: 5.281 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3618, allocations: 0 / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3618, allocations: 2.719 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.3619, allocations: 17.38 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3619, allocations: 3.938 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.362, allocations: 6.094 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.362, allocations: 6.531 kB / 0.5113 GB, free: 34.71 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.482e-05/0.3621, allocations: 133 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.3621, allocations: 11.2 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.3624, allocations: 116.1 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3624, allocations: 6.062 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3624, allocations: 3.938 kB / 0.5115 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3624, allocations: 3.984 kB / 0.5115 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.3629, allocations: 407.8 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3629, allocations: 0 / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.3629, allocations: 21.03 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.363, allocations: 2.812 kB / 0.5119 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.363, allocations: 11.08 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.363, allocations: 0 / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.363, allocations: 7.031 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.3635, allocations: 0.793 MB / 0.5127 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-05/0.3635, allocations: 87.61 kB / 0.5128 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3636, allocations: 6.719 kB / 0.5128 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.3636, allocations: 5.938 kB / 0.5128 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3637, allocations: 10.02 kB / 0.5128 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.3637, allocations: 2.656 kB / 0.5128 GB, free: 33.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3638, allocations: 175.9 kB / 0.513 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3638, allocations: 0 / 0.513 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.3642, allocations: 28.12 kB / 0.513 GB, free: 33.15 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 (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.001064/0.3653, allocations: 457.7 kB / 0.5135 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3655, allocations: 60.12 kB / 0.5135 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3655, allocations: 0 / 0.5135 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.3656, allocations: 46.03 kB / 0.5136 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.366, allocations: 13.16 kB / 0.5136 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.3665, allocations: 420.5 kB / 0.514 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3666, allocations: 0.7113 MB / 0.5147 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.944e-05/0.3667, allocations: 13.59 kB / 0.5147 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3667, allocations: 13.3 kB / 0.5147 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3667, allocations: 6.656 kB / 0.5147 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003745/0.3704, allocations: 1.289 MB / 0.516 GB, free: 31.69 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches