Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 115.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001934, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 75.81 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3374, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003048/0.3405, allocations: 1.738 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3422, allocations: 1.021 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.3423, allocations: 1.375 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3426, allocations: 44.14 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.3429, allocations: 91.09 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.3431, allocations: 82.91 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3433, allocations: 102.3 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3434, allocations: 14.88 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.3435, allocations: 46.89 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.3436, allocations: 34.73 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3436, allocations: 4.125 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-05/0.3437, allocations: 39.48 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.3438, allocations: 22.78 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.3438, allocations: 36 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.344, allocations: 122.1 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.344, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.344, allocations: 4 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3441, allocations: 1.375 kB / 0.5351 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005315/0.3446, allocations: 418.4 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3446, allocations: 8.344 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3447, allocations: 13.75 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.345, allocations: 217 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.345, allocations: 2.562 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.345, allocations: 6 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3452, allocations: 57.58 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3452, allocations: 5.094 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3452, allocations: 0 / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3452, allocations: 1.688 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.3453, allocations: 21.86 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.3456, allocations: 287.4 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3458, allocations: 65.31 kB / 0.5361 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.3459, allocations: 18.14 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3459, allocations: 4.656 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.3461, allocations: 73.81 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3461, allocations: 0 / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.3466, allocations: 165.8 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.3466, allocations: 56.53 kB / 0.5364 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3468, allocations: 196.5 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3469, allocations: 26.73 kB / 0.5366 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.3469, allocations: 104.6 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.347, allocations: 32.16 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.347, allocations: 20.56 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3471, allocations: 326.3 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.3472, allocations: 22.83 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.3472, allocations: 39.45 kB / 0.5371 GB, free: 9.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3474, allocations: 62.7 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3474, allocations: 1.062 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.3476, allocations: 98.81 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3476, allocations: 6.562 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3476, allocations: 0 / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3476, allocations: 9.188 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3477, allocations: 16.39 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3477, allocations: 2.438 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.3478, allocations: 5.031 kB / 0.5373 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3478, allocations: 6.469 kB / 0.5373 GB, free: 8.879 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.482e-05/0.3479, allocations: 123.2 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3479, allocations: 9.75 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.348, allocations: 14.84 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.348, allocations: 3.938 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.348, allocations: 8.953 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.3481, allocations: 91.2 kB / 0.5376 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3481, allocations: 9.156 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.3481, allocations: 2.375 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.3482, allocations: 6.703 kB / 0.5376 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002063/0.3484, allocations: 177.3 kB / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002653/0.3487, allocations: 278 kB / 0.538 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.352e-05/0.3487, allocations: 29.36 kB / 0.5381 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3489, allocations: 148.9 kB / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3489, allocations: 0 / 0.5382 GB, free: 8.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.3502, allocations: 486.2 kB / 0.5387 GB, free: 7.871 MB / 398.1 MB Notification: Performance of SimCode: time 0.000671/0.3509, allocations: 0.6749 MB / 0.5393 GB, free: 7.219 MB / 398.1 MB Notification: Performance of Templates: time 0.004952/0.3559, allocations: 1.809 MB / 0.5411 GB, free: 6.301 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches