Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, 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.539/1.539, allocations: 222.9 MB / 241.6 MB, free: 10.96 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.001246/0.001246, allocations: 98.08 kB / 291.8 MB, free: 10.92 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.4111/0.4111, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 51.92 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3505, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002656/0.3532, allocations: 1.635 MB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.3539, allocations: 417.3 kB / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.3539, allocations: 1.188 kB / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.3542, allocations: 65.88 kB / 0.5084 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3543, allocations: 56.77 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3546, allocations: 101.8 kB / 0.5086 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3547, allocations: 70.34 kB / 0.5087 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.3548, allocations: 19.83 kB / 0.5087 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.3549, allocations: 27.52 kB / 0.5087 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.355, allocations: 51.72 kB / 0.5088 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.355, allocations: 3.062 kB / 0.5088 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.461e-05/0.3551, allocations: 40.94 kB / 0.5088 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.3551, allocations: 23.45 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3552, allocations: 32.23 kB / 0.5089 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3553, allocations: 94.28 kB / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3553, allocations: 0 / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3553, allocations: 0 / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.3553, allocations: 0 / 0.5089 GB, free: 36.58 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.0003269/0.3556, allocations: 401.8 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.3557, allocations: 11.28 kB / 0.5093 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.3557, allocations: 11.59 kB / 0.5094 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.3558, allocations: 194.2 kB / 0.5095 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3559, allocations: 8.375 kB / 0.5095 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3559, allocations: 3.219 kB / 0.5095 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.356, allocations: 58.67 kB / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.356, allocations: 0 / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.356, allocations: 0 / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3561, allocations: 0 / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.3561, allocations: 32 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.3565, allocations: 298.8 kB / 0.5099 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/0.3566, allocations: 46.78 kB / 0.51 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.3566, allocations: 18.02 kB / 0.51 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3567, allocations: 6.719 kB / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3567, allocations: 30.56 kB / 0.51 GB, free: 35.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.023e-06/0.3567, allocations: 4 kB / 0.51 GB, free: 35.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007846/0.3575, allocations: 239.1 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3575, allocations: 51.41 kB / 0.5103 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3577, allocations: 189.9 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.3577, allocations: 33.7 kB / 0.5105 GB, free: 35.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.3577, allocations: 109 kB / 0.5106 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.3578, allocations: 17.98 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3578, allocations: 24.69 kB / 0.5107 GB, free: 35.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.3579, allocations: 324.2 kB / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.358, allocations: 27.84 kB / 0.511 GB, free: 34.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.358, allocations: 31.69 kB / 0.511 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3582, allocations: 81.72 kB / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3582, allocations: 0 / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001964/0.3584, allocations: 108.9 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3584, allocations: 5.969 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.3584, allocations: 0 / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3584, allocations: 0 / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.3585, allocations: 24.53 kB / 0.5112 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3585, allocations: 6.406 kB / 0.5112 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.3586, allocations: 14.75 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3586, allocations: 2.906 kB / 0.5113 GB, free: 34.62 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 8.639e-05/0.3587, allocations: 130.2 kB / 0.5114 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3587, allocations: 9.688 kB / 0.5114 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.359, allocations: 122.8 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.359, allocations: 0 / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.359, allocations: 7.938 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.359, allocations: 2.875 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.3594, allocations: 409.3 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3594, allocations: 3.234 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3595, allocations: 21.77 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3595, allocations: 0 / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3595, allocations: 6.969 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.3595, allocations: 4.016 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3595, allocations: 7.922 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.36, allocations: 0.8136 MB / 0.5127 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.36, allocations: 83.95 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.36, allocations: 3.234 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.3601, allocations: 6.875 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3601, allocations: 6.094 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3601, allocations: 2.781 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.369e-05/0.3602, allocations: 147.5 kB / 0.513 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3602, allocations: 0 / 0.513 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003256/0.3606, allocations: 27.86 kB / 0.513 GB, free: 33.08 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.0008135/0.3614, allocations: 455.2 kB / 0.5134 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3616, allocations: 75.5 kB / 0.5135 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3616, allocations: 7.938 kB / 0.5135 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.3617, allocations: 40 kB / 0.5136 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.362, allocations: 24.41 kB / 0.5136 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.3624, allocations: 402.8 kB / 0.514 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.3626, allocations: 0.7113 MB / 0.5147 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.3626, allocations: 20.06 kB / 0.5147 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.3627, allocations: 17.38 kB / 0.5147 GB, free: 31.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3627, allocations: 0 / 0.5147 GB, free: 31.78 MB / 378.7 MB Notification: Performance of Templates: time 0.00317/0.3658, allocations: 1.308 MB / 0.516 GB, free: 31.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches