Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.389/1.389, allocations: 222.9 MB / 241.6 MB, free: 10.95 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.001235/0.001236, allocations: 105.6 kB / 291.9 MB, free: 10.91 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.3209/0.3209, allocations: 44.14 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009797/0.0009799, allocations: 59.92 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3456, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002955/0.3486, allocations: 1.967 MB / 0.5083 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3497, allocations: 0.91 MB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.3498, allocations: 0 / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3501, allocations: 38.53 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3502, allocations: 51.86 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3505, allocations: 106.6 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3506, allocations: 132.3 kB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.3507, allocations: 28.27 kB / 0.5095 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.3508, allocations: 53.66 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.3509, allocations: 50.28 kB / 0.5096 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3509, allocations: 5.812 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.351, allocations: 41.48 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.351, allocations: 24.28 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3511, allocations: 47.7 kB / 0.5098 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3513, allocations: 140.1 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3513, allocations: 4 kB / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3513, allocations: 0 / 0.5099 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.3513, allocations: 0 / 0.5099 GB, free: 35.97 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004879/0.3518, allocations: 475.7 kB / 0.5104 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.3518, allocations: 10.31 kB / 0.5104 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.3519, allocations: 15.28 kB / 0.5104 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.3521, allocations: 234.1 kB / 0.5106 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3521, allocations: 3.188 kB / 0.5106 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3521, allocations: 17.91 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3523, allocations: 109.2 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3523, allocations: 0 / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3523, allocations: 4 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3523, allocations: 2.875 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3525, allocations: 44.84 kB / 0.5108 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3529, allocations: 0.5024 MB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3532, allocations: 91.34 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.3532, allocations: 37.5 kB / 0.5114 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3533, allocations: 10.36 kB / 0.5114 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.3535, allocations: 73.7 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3535, allocations: 2.781 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003222/0.3538, allocations: 153.6 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.3538, allocations: 62.06 kB / 0.5117 GB, free: 34.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.354, allocations: 189.6 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.354, allocations: 32.64 kB / 0.5119 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.354, allocations: 112.5 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.354, allocations: 32.39 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3541, allocations: 26.62 kB / 0.5121 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.3541, allocations: 332.3 kB / 0.5124 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.3542, allocations: 25.62 kB / 0.5124 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.3543, allocations: 68.88 kB / 0.5125 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3544, allocations: 94.23 kB / 0.5125 GB, free: 33.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3545, allocations: 0 / 0.5125 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002128/0.3547, allocations: 136.6 kB / 0.5127 GB, free: 33.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3547, allocations: 5.844 kB / 0.5127 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3547, allocations: 0 / 0.5127 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3547, allocations: 7.094 kB / 0.5127 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.3548, allocations: 30.27 kB / 0.5127 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3548, allocations: 480 / 0.5127 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.3549, allocations: 12.55 kB / 0.5127 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3549, allocations: 8.719 kB / 0.5127 GB, free: 33.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.62e-05/0.355, allocations: 129.8 kB / 0.5129 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.355, allocations: 20.19 kB / 0.5129 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.355, allocations: 19.59 kB / 0.5129 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3551, allocations: 10.84 kB / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3551, allocations: 0 / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3551, allocations: 0 / 0.5129 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.3552, allocations: 210.1 kB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3552, allocations: 0 / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.3553, allocations: 15.98 kB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3553, allocations: 0 / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3553, allocations: 2.719 kB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3553, allocations: 7.922 kB / 0.5131 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3553, allocations: 0 / 0.5131 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.3566, allocations: 1.415 MB / 0.5145 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.3566, allocations: 87.83 kB / 0.5146 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3566, allocations: 2.938 kB / 0.5146 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.655e-05/0.3567, allocations: 6.031 kB / 0.5146 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3567, allocations: 10.25 kB / 0.5146 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.3567, allocations: 6.906 kB / 0.5146 GB, free: 31.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.477e-05/0.3568, allocations: 141.9 kB / 0.5148 GB, free: 31.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3568, allocations: 0 / 0.5148 GB, free: 31.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.3571, allocations: 37.12 kB / 0.5148 GB, free: 31.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007418/0.3579, allocations: 427 kB / 0.5152 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3581, allocations: 76.03 kB / 0.5153 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3581, allocations: 0 / 0.5153 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.3582, allocations: 37.62 kB / 0.5153 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3584, allocations: 39.33 kB / 0.5154 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3589, allocations: 429.1 kB / 0.5158 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.359, allocations: 0.7111 MB / 0.5165 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.3591, allocations: 19.86 kB / 0.5165 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.3591, allocations: 22.78 kB / 0.5165 GB, free: 30.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3591, allocations: 4 kB / 0.5165 GB, free: 30.43 MB / 378.7 MB Notification: Performance of Templates: time 0.003873/0.363, allocations: 1.853 MB / 0.5183 GB, free: 30.24 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches