Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3371, allocations: 60.83 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002759/0.3399, allocations: 1.711 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3417, allocations: 1.48 MB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3418, allocations: 1.031 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.342, allocations: 36.38 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.3423, allocations: 55.75 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3426, allocations: 125.3 kB / 0.5223 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3427, allocations: 92.23 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.3428, allocations: 12.56 kB / 0.5224 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.3429, allocations: 45.12 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.343, allocations: 31.36 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3431, allocations: 4.5 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3432, allocations: 62.7 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.3433, allocations: 18.55 kB / 0.5226 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.3433, allocations: 38.33 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3436, allocations: 125.9 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3436, allocations: 0 / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3436, allocations: 1.25 kB / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3436, allocations: 0 / 0.5227 GB, free: 1.066 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004688/0.3441, allocations: 405.7 kB / 0.5231 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3441, allocations: 8.125 kB / 0.5231 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3442, allocations: 13.55 kB / 0.5231 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3444, allocations: 201.7 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3444, allocations: 2.359 kB / 0.5233 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3444, allocations: 14.41 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3446, allocations: 70.52 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3446, allocations: 0 / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3446, allocations: 6.516 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3446, allocations: 0 / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.3447, allocations: 21.53 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.345, allocations: 285.1 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3452, allocations: 59.77 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/0.3452, allocations: 19.84 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3453, allocations: 2.109 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3454, allocations: 73.78 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3455, allocations: 0 / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005916/0.3461, allocations: 171.7 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3461, allocations: 78.27 kB / 0.5241 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3463, allocations: 150.2 kB / 0.5242 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3463, allocations: 31.61 kB / 0.5243 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.3464, allocations: 94.03 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.3464, allocations: 28.61 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3465, allocations: 23.61 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3466, allocations: 324.4 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3467, allocations: 21.72 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.3468, allocations: 44.64 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3469, allocations: 62.5 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3469, allocations: 0 / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.3471, allocations: 101.2 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3472, allocations: 6.016 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3472, allocations: 0 / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3472, allocations: 1.656 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.3473, allocations: 15.42 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3473, allocations: 1.531 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.3474, allocations: 11.59 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3474, allocations: 2.375 kB / 0.525 GB, free: 15.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001053/0.3475, allocations: 132.8 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3475, allocations: 13.02 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.405e-05/0.3476, allocations: 14.25 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3476, allocations: 1.312 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3476, allocations: 1.281 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3476, allocations: 4.594 kB / 0.5251 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.3481, allocations: 396.7 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3481, allocations: 4.406 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.3482, allocations: 8.453 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3482, allocations: 1.781 kB / 0.5255 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3482, allocations: 11.03 kB / 0.5255 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3482, allocations: 1.781 kB / 0.5255 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3482, allocations: 0 / 0.5255 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3485, allocations: 205.6 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.3486, allocations: 83.83 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.3486, allocations: 6.531 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.3487, allocations: 7.594 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3487, allocations: 4.078 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3487, allocations: 4.719 kB / 0.5258 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3489, allocations: 115.8 kB / 0.5259 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 0 / 0.5259 GB, free: 14.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.3492, allocations: 34.64 kB / 0.526 GB, free: 14.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001225/0.3504, allocations: 0.4948 MB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3506, allocations: 60.7 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3506, allocations: 0 / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.3507, allocations: 33.05 kB / 0.5265 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.3511, allocations: 35.25 kB / 0.5266 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.3515, allocations: 190.9 kB / 0.5268 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3518, allocations: 0.6961 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.3518, allocations: 27.19 kB / 0.5275 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3519, allocations: 22.23 kB / 0.5275 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3519, allocations: 0 / 0.5275 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Templates: time 0.005294/0.3572, allocations: 1.958 MB / 0.5294 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches