Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.8 kB / 18.45 MB, free: 4.602 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.001194/0.001194, allocations: 182.3 kB / 19.37 MB, free: 3.684 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.302/1.302, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2161/0.2161, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.08 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3348, allocations: 60.82 MB / 0.5197 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003082/0.3379, allocations: 1.903 MB / 0.5215 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3395, allocations: 0.9879 MB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3396, allocations: 6.531 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.3401, allocations: 216.7 kB / 0.5227 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.3404, allocations: 173.1 kB / 0.5229 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3409, allocations: 176.3 kB / 0.523 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.3412, allocations: 240.2 kB / 0.5233 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3413, allocations: 30.11 kB / 0.5233 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3415, allocations: 115.3 kB / 0.5234 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.3417, allocations: 153.7 kB / 0.5235 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3418, allocations: 8.656 kB / 0.5235 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3419, allocations: 62.45 kB / 0.5236 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.342, allocations: 51.89 kB / 0.5237 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.3421, allocations: 93.62 kB / 0.5237 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.3424, allocations: 237.9 kB / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3424, allocations: 0 / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3424, allocations: 0 / 0.524 GB, free: 1.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3424, allocations: 5.656 kB / 0.524 GB, free: 1.047 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006414/0.3431, allocations: 0.5446 MB / 0.5245 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3431, allocations: 10.42 kB / 0.5245 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.3432, allocations: 29.28 kB / 0.5245 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.3435, allocations: 275.6 kB / 0.5248 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3436, allocations: 8 kB / 0.5248 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3436, allocations: 10.56 kB / 0.5248 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.3438, allocations: 115.8 kB / 0.5249 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3439, allocations: 3.906 kB / 0.5249 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3439, allocations: 6.484 kB / 0.5249 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3439, allocations: 1.688 kB / 0.5249 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.344, allocations: 42.39 kB / 0.525 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.3446, allocations: 481.2 kB / 0.5254 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.345, allocations: 126.8 kB / 0.5256 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.3451, allocations: 43.97 kB / 0.5256 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3451, allocations: 3.312 kB / 0.5256 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.3454, allocations: 119.8 kB / 0.5257 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.3454, allocations: 0 / 0.5257 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001322/0.3467, allocations: 0.4963 MB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.3468, allocations: 84.88 kB / 0.5263 GB, free: 15.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.3473, allocations: 427.2 kB / 0.5267 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3473, allocations: 31.61 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3474, allocations: 155.3 kB / 0.5269 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.3475, allocations: 68.72 kB / 0.5269 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.3476, allocations: 40.73 kB / 0.527 GB, free: 14.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3477, allocations: 346.4 kB / 0.5273 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3479, allocations: 51.7 kB / 0.5274 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.348, allocations: 102.5 kB / 0.5275 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3483, allocations: 166.4 kB / 0.5276 GB, free: 14.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3483, allocations: 1.375 kB / 0.5276 GB, free: 14.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004461/0.3488, allocations: 238.1 kB / 0.5278 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3488, allocations: 9.438 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3488, allocations: 1.375 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3488, allocations: 1.375 kB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.349, allocations: 47.67 kB / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.349, allocations: 1.375 kB / 0.5279 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.3491, allocations: 12.11 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3491, allocations: 6.875 kB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001529/0.3493, allocations: 168.1 kB / 0.5281 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.3493, allocations: 34.69 kB / 0.5281 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.3494, allocations: 43.06 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3494, allocations: 2.75 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3494, allocations: 0 / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3494, allocations: 1.375 kB / 0.5282 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.3503, allocations: 0.7325 MB / 0.5289 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3504, allocations: 2.219 kB / 0.5289 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.3504, allocations: 27.75 kB / 0.5289 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3504, allocations: 7.016 kB / 0.5289 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3505, allocations: 11 kB / 0.5289 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3505, allocations: 2.562 kB / 0.5289 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3505, allocations: 2.5 kB / 0.5289 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.351, allocations: 425.5 kB / 0.5293 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.351, allocations: 100.3 kB / 0.5294 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3511, allocations: 7.625 kB / 0.5294 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3512, allocations: 16.23 kB / 0.5295 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.3513, allocations: 21.77 kB / 0.5295 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.3513, allocations: 12.08 kB / 0.5295 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.3516, allocations: 316.7 kB / 0.5298 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3516, allocations: 0 / 0.5298 GB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00037/0.352, allocations: 52.83 kB / 0.5298 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001209/0.3532, allocations: 0.5193 MB / 0.5303 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.3536, allocations: 154.7 kB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3536, allocations: 1.031 kB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3538, allocations: 83.56 kB / 0.5306 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.3544, allocations: 58.55 kB / 0.5306 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.3553, allocations: 0.5701 MB / 0.5312 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3556, allocations: 0.7782 MB / 0.5319 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.3557, allocations: 35.69 kB / 0.532 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3557, allocations: 0 / 0.532 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.00609/0.3618, allocations: 3.679 MB / 0.5356 GB, free: 9.223 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time