Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2226/0.2226, allocations: 46.09 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 75.88 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.331, allocations: 62.44 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003283/0.3343, allocations: 2.276 MB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3365, allocations: 1.315 MB / 0.5353 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.3366, allocations: 6.688 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.337, allocations: 126 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.3375, allocations: 239.5 kB / 0.5356 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.3379, allocations: 191.5 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.3384, allocations: 453 kB / 0.5363 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3386, allocations: 67 kB / 0.5363 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.339, allocations: 291.9 kB / 0.5366 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3392, allocations: 156.4 kB / 0.5367 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.3393, allocations: 17.06 kB / 0.5368 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3394, allocations: 78.94 kB / 0.5368 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3396, allocations: 126 kB / 0.537 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.3397, allocations: 185.9 kB / 0.5371 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3402, allocations: 442.4 kB / 0.5376 GB, free: 9.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3402, allocations: 7.938 kB / 0.5376 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3402, allocations: 1.312 kB / 0.5376 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3402, allocations: 0 / 0.5376 GB, free: 9.281 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001051/0.3413, allocations: 0.8193 MB / 0.5384 GB, free: 8.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3413, allocations: 10.78 kB / 0.5384 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.3414, allocations: 63.91 kB / 0.5384 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.342, allocations: 419 kB / 0.5388 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.342, allocations: 10.91 kB / 0.5388 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3421, allocations: 29.44 kB / 0.5389 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.3424, allocations: 185.6 kB / 0.539 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3425, allocations: 1.188 kB / 0.5391 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.3425, allocations: 9.109 kB / 0.5391 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.3425, allocations: 3.469 kB / 0.5391 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.3428, allocations: 97.81 kB / 0.5392 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.3437, allocations: 0.8011 MB / 0.5399 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.3443, allocations: 244 kB / 0.5402 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3445, allocations: 90.81 kB / 0.5403 GB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3445, allocations: 8.016 kB / 0.5403 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.3449, allocations: 209.7 kB / 0.5405 GB, free: 6.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.3449, allocations: 0 / 0.5405 GB, free: 6.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002483/0.3474, allocations: 1.119 MB / 0.5416 GB, free: 6.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.3475, allocations: 141.3 kB / 0.5417 GB, free: 5.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/0.3485, allocations: 0.7879 MB / 0.5425 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.3485, allocations: 37.95 kB / 0.5425 GB, free: 5.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.3487, allocations: 241.3 kB / 0.5427 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3489, allocations: 138.3 kB / 0.5429 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.349, allocations: 83.28 kB / 0.5429 GB, free: 5.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3492, allocations: 376 kB / 0.5433 GB, free: 4.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.3495, allocations: 120.2 kB / 0.5434 GB, free: 4.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.3498, allocations: 179.4 kB / 0.5436 GB, free: 4.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.3504, allocations: 321.5 kB / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3504, allocations: 0 / 0.5439 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007964/0.3512, allocations: 433.4 kB / 0.5443 GB, free: 4.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3512, allocations: 9.875 kB / 0.5443 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3512, allocations: 2.188 kB / 0.5443 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.3513, allocations: 3.5 kB / 0.5443 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.3516, allocations: 92.42 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3516, allocations: 4.047 kB / 0.5444 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3517, allocations: 20.61 kB / 0.5444 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3518, allocations: 21.08 kB / 0.5444 GB, free: 4.164 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002814/0.3521, allocations: 234 kB / 0.5447 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3522, allocations: 65.88 kB / 0.5447 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.3523, allocations: 79.12 kB / 0.5448 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3523, allocations: 6.328 kB / 0.5448 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3524, allocations: 3.938 kB / 0.5448 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.3525, allocations: 175.9 kB / 0.545 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.017e-05/0.3526, allocations: 12 kB / 0.545 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3528, allocations: 23.92 kB / 0.545 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.3529, allocations: 31.95 kB / 0.5451 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00087/0.3537, allocations: 0.7175 MB / 0.5458 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009006/0.3546, allocations: 0.8278 MB / 0.5466 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002878/0.3549, allocations: 152.3 kB / 0.5467 GB, free: 1.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006512/0.3556, allocations: 0.5811 MB / 0.5473 GB, free: 1.359 MB / 398.1 MB Notification: Performance of Backend: time 2.024e-06/0.3556, allocations: 0 / 0.5473 GB, free: 1.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.3578, allocations: 0.7541 MB / 0.548 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of SimCode: time 0.001826/0.3597, allocations: 1.389 MB / 0.5494 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.01073/0.3704, allocations: 5.833 MB / 0.5551 GB, free: 9.559 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches