Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 114 kB / 17.75 MB, free: 5.32 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.001291/0.001291, allocations: 192.1 kB / 18.68 MB, free: 4.395 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.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1929/0.1929, allocations: 44.17 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3356, allocations: 60.81 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00312/0.3388, allocations: 1.719 MB / 0.5206 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3412, allocations: 1.483 MB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3413, allocations: 1.094 kB / 0.5221 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.3417, allocations: 40.95 kB / 0.5221 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.342, allocations: 59.42 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3423, allocations: 108.9 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3425, allocations: 97.34 kB / 0.5224 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3426, allocations: 12.02 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.3427, allocations: 41.42 kB / 0.5224 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3429, allocations: 42.53 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3429, allocations: 5.281 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.343, allocations: 57.8 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.3431, allocations: 16.27 kB / 0.5225 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/0.3432, allocations: 29.38 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3434, allocations: 124.9 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3434, allocations: 0 / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3434, allocations: 1.094 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3434, allocations: 0 / 0.5227 GB, free: 1.086 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.0005009/0.3439, allocations: 406.4 kB / 0.5231 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.344, allocations: 9.906 kB / 0.5231 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.344, allocations: 10.05 kB / 0.5231 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3443, allocations: 200.7 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3443, allocations: 5.875 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.3444, allocations: 11.36 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3446, allocations: 74.92 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3446, allocations: 0 / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3446, allocations: 1.094 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3446, allocations: 1.188 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.3447, allocations: 18.61 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.345, allocations: 283.3 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3452, allocations: 64.92 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.3453, allocations: 20.41 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3453, allocations: 0 / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.3455, allocations: 65.91 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3455, allocations: 1.406 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005774/0.3461, allocations: 163.1 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.3461, allocations: 83.55 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3463, allocations: 157.8 kB / 0.5242 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3463, allocations: 25.7 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.3464, allocations: 94.53 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3464, allocations: 25.88 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3465, allocations: 25.59 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3466, allocations: 326 kB / 0.5246 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.3467, allocations: 17.02 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.3468, allocations: 48.7 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3469, allocations: 65.8 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3469, allocations: 1.094 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.3471, allocations: 100.6 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3471, allocations: 9.406 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3471, allocations: 384 / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3472, allocations: 10.14 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.3473, allocations: 18.53 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3473, allocations: 1.062 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.3473, allocations: 11.16 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3474, allocations: 3.25 kB / 0.5249 GB, free: 15.05 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 9.541e-05/0.3475, allocations: 122.4 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3475, allocations: 12.47 kB / 0.525 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3475, allocations: 13.73 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3475, allocations: 1.5 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3476, allocations: 4.188 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3476, allocations: 5.25 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.348, allocations: 389 kB / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.348, allocations: 0 / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.3481, allocations: 8.984 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3481, allocations: 1.156 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3481, allocations: 10.19 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3481, allocations: 1.531 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3481, allocations: 4.828 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.3484, allocations: 196.9 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.3484, allocations: 83.34 kB / 0.5257 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.3485, allocations: 10.55 kB / 0.5257 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.3485, allocations: 4.828 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3486, allocations: 5.891 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3486, allocations: 6.469 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3487, allocations: 119.6 kB / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3487, allocations: 0 / 0.5259 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.349, allocations: 31.03 kB / 0.5259 GB, free: 14.17 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.001151/0.3502, allocations: 0.502 MB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3504, allocations: 65.5 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3504, allocations: 0 / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.3505, allocations: 33.2 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3508, allocations: 30.47 kB / 0.5265 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.3514, allocations: 195.5 kB / 0.5267 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3517, allocations: 0.6957 MB / 0.5274 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.3518, allocations: 18.27 kB / 0.5274 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.3519, allocations: 19.08 kB / 0.5274 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.604e-06/0.3519, allocations: 0 / 0.5274 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.00538/0.3573, allocations: 1.954 MB / 0.5293 GB, free: 12.33 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches