Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, 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.601/1.601, 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.0009727/0.0009725, allocations: 101.9 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.3273/0.3273, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3531, allocations: 60.79 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003375/0.3565, allocations: 1.677 MB / 0.508 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.3573, allocations: 429.7 kB / 0.5084 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.3574, allocations: 1.219 kB / 0.5084 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.3577, allocations: 28.03 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.3578, allocations: 33.39 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3581, allocations: 105.4 kB / 0.5086 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3583, allocations: 73.67 kB / 0.5087 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3584, allocations: 34.08 kB / 0.5087 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.235e-05/0.3585, allocations: 34.42 kB / 0.5087 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.3586, allocations: 36.58 kB / 0.5088 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3586, allocations: 0 / 0.5088 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.3587, allocations: 56.47 kB / 0.5088 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.3588, allocations: 17.12 kB / 0.5088 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.3588, allocations: 32.73 kB / 0.5089 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.359, allocations: 97.7 kB / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.359, allocations: 0 / 0.509 GB, free: 36.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.359, allocations: 3.938 kB / 0.509 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.359, allocations: 0 / 0.509 GB, free: 36.52 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.0005059/0.3595, allocations: 399.3 kB / 0.5093 GB, free: 36.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3596, allocations: 11.41 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3596, allocations: 7.688 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.3598, allocations: 201 kB / 0.5096 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3598, allocations: 7.219 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.3599, allocations: 3.188 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3601, allocations: 76.91 kB / 0.5096 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3601, allocations: 0 / 0.5096 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3601, allocations: 4 kB / 0.5096 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3601, allocations: 0 / 0.5096 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3602, allocations: 42.2 kB / 0.5097 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3607, allocations: 340.1 kB / 0.51 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3608, allocations: 63.34 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3609, allocations: 23.53 kB / 0.5101 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3609, allocations: 2.75 kB / 0.5101 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3609, allocations: 45.97 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3609, allocations: 0 / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001022/0.3619, allocations: 325.7 kB / 0.5104 GB, free: 35.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.362, allocations: 58.41 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3621, allocations: 153.5 kB / 0.5106 GB, free: 35.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3621, allocations: 25.7 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.3622, allocations: 102.4 kB / 0.5108 GB, free: 35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.3622, allocations: 48.5 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3623, allocations: 25.77 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.3624, allocations: 320.9 kB / 0.5111 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.3625, allocations: 48.91 kB / 0.5112 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.3626, allocations: 44.75 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3628, allocations: 112.2 kB / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3628, allocations: 0 / 0.5113 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.363, allocations: 152.7 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.363, allocations: 2.875 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.363, allocations: 6.844 kB / 0.5115 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3631, allocations: 7.938 kB / 0.5115 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3632, allocations: 23.7 kB / 0.5115 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3632, allocations: 3.938 kB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.3633, allocations: 13.11 kB / 0.5115 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.3633, allocations: 2.969 kB / 0.5115 GB, free: 34.46 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 7.939e-05/0.3634, allocations: 123.1 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3634, allocations: 9.656 kB / 0.5117 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.3638, allocations: 180.9 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3638, allocations: 0 / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3638, allocations: 2.656 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3638, allocations: 3.234 kB / 0.5118 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.3644, allocations: 0.4902 MB / 0.5123 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3644, allocations: 0 / 0.5123 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.3645, allocations: 27.81 kB / 0.5124 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3645, allocations: 0 / 0.5124 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.3645, allocations: 2.781 kB / 0.5124 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3645, allocations: 0 / 0.5124 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3645, allocations: 5.906 kB / 0.5124 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.3651, allocations: 0.8642 MB / 0.5132 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3652, allocations: 87.8 kB / 0.5133 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.3652, allocations: 0 / 0.5133 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.3653, allocations: 12.72 kB / 0.5133 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3653, allocations: 9.953 kB / 0.5133 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.3653, allocations: 9.969 kB / 0.5133 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.3654, allocations: 119.1 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3654, allocations: 2.875 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.3658, allocations: 25.22 kB / 0.5135 GB, free: 32.85 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.001097/0.3669, allocations: 459.9 kB / 0.5139 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.3672, allocations: 117.7 kB / 0.514 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3672, allocations: 2.781 kB / 0.514 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3673, allocations: 58.12 kB / 0.5141 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3677, allocations: 17.17 kB / 0.5141 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.3684, allocations: 443.9 kB / 0.5145 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3686, allocations: 0.7155 MB / 0.5152 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.903e-05/0.3687, allocations: 31.91 kB / 0.5152 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3687, allocations: 15.16 kB / 0.5153 GB, free: 31.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3687, allocations: 0 / 0.5153 GB, free: 31.51 MB / 378.7 MB Notification: Performance of Templates: time 0.004333/0.3731, allocations: 1.511 MB / 0.5167 GB, free: 31.34 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches