Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 115.6 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 208 kB / 19.41 MB, free: 3.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.88 kB / 482.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3416, allocations: 62.42 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003542/0.3452, allocations: 1.737 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3475, allocations: 1.022 MB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.3476, allocations: 1.219 kB / 0.5344 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.348, allocations: 81.64 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.3484, allocations: 115.4 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.3487, allocations: 83.16 kB / 0.5347 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.349, allocations: 113.3 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3491, allocations: 17.48 kB / 0.5348 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3492, allocations: 51.16 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3494, allocations: 59.25 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.3494, allocations: 8.062 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3495, allocations: 43.48 kB / 0.535 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.3496, allocations: 24.16 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.3497, allocations: 41.31 kB / 0.535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3499, allocations: 121.4 kB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.35, allocations: 0 / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.35, allocations: 1.375 kB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.35, allocations: 4 kB / 0.5352 GB, free: 11.23 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.0006426/0.3506, allocations: 422.5 kB / 0.5356 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3507, allocations: 13.56 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.3508, allocations: 14.25 kB / 0.5356 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3511, allocations: 216.5 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3511, allocations: 7.062 kB / 0.5358 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3512, allocations: 5.5 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3513, allocations: 54.36 kB / 0.5359 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3513, allocations: 4 kB / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3514, allocations: 1.219 kB / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3514, allocations: 0 / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.3515, allocations: 23.67 kB / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.3519, allocations: 287.8 kB / 0.5362 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3521, allocations: 57.69 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/0.3522, allocations: 26.12 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3522, allocations: 1.188 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3524, allocations: 72.72 kB / 0.5363 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3524, allocations: 0 / 0.5363 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006495/0.3531, allocations: 179.1 kB / 0.5365 GB, free: 9.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3531, allocations: 56.78 kB / 0.5365 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3534, allocations: 222.8 kB / 0.5368 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3534, allocations: 25.7 kB / 0.5368 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.3535, allocations: 114.7 kB / 0.5369 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3536, allocations: 19.53 kB / 0.5369 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.3536, allocations: 23.98 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3538, allocations: 327.3 kB / 0.5372 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.3539, allocations: 22.94 kB / 0.5373 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.354, allocations: 38.8 kB / 0.5373 GB, free: 9.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3541, allocations: 59.73 kB / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3541, allocations: 192 / 0.5374 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002346/0.3544, allocations: 103.3 kB / 0.5375 GB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3544, allocations: 9.281 kB / 0.5375 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3544, allocations: 1.031 kB / 0.5375 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3544, allocations: 1.094 kB / 0.5375 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3546, allocations: 17.56 kB / 0.5375 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.3546, allocations: 1.094 kB / 0.5375 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.3547, allocations: 14.11 kB / 0.5375 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3547, allocations: 6.281 kB / 0.5375 GB, free: 9.031 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.000139/0.3548, allocations: 125.1 kB / 0.5376 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3549, allocations: 10.41 kB / 0.5376 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.3549, allocations: 23.36 kB / 0.5377 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.355, allocations: 0 / 0.5377 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.355, allocations: 5.094 kB / 0.5377 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.355, allocations: 87.48 kB / 0.5377 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3551, allocations: 9.016 kB / 0.5378 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.3551, allocations: 1.938 kB / 0.5378 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3552, allocations: 7.219 kB / 0.5378 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002788/0.3555, allocations: 177.5 kB / 0.5379 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003405/0.3558, allocations: 286.4 kB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.722e-05/0.3559, allocations: 25.55 kB / 0.5382 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3562, allocations: 168.9 kB / 0.5384 GB, free: 8.246 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3562, allocations: 0 / 0.5384 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.3581, allocations: 496 kB / 0.5389 GB, free: 8.012 MB / 398.1 MB Notification: Performance of SimCode: time 0.000826/0.3589, allocations: 0.6899 MB / 0.5395 GB, free: 7.355 MB / 398.1 MB Notification: Performance of Templates: time 0.005841/0.3648, allocations: 1.826 MB / 0.5413 GB, free: 6.426 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches