Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 111.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, 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.261/0.261, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 79.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3333, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003485/0.3368, allocations: 1.735 MB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3388, allocations: 1.015 MB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.339, allocations: 3.938 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004649/0.3395, allocations: 86.19 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005065/0.34, allocations: 119 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.3404, allocations: 75.52 kB / 0.5347 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.3407, allocations: 116.8 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3408, allocations: 10.33 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.341, allocations: 54.3 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.3411, allocations: 59.72 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3412, allocations: 7.375 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.3413, allocations: 48.7 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.3414, allocations: 23.67 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.3415, allocations: 33.09 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.3418, allocations: 136.3 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3418, allocations: 0 / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3418, allocations: 0 / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.3418, allocations: 0 / 0.5352 GB, free: 11 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.0007173/0.3426, allocations: 417.7 kB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3426, allocations: 12.25 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.3427, allocations: 18.19 kB / 0.5356 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3431, allocations: 213.8 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3431, allocations: 5.75 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3432, allocations: 6.875 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.3433, allocations: 54.05 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3434, allocations: 0 / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3434, allocations: 0 / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3434, allocations: 1.375 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.3435, allocations: 22.98 kB / 0.5359 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.3439, allocations: 296.2 kB / 0.5362 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3441, allocations: 57.88 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.3441, allocations: 21.09 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3442, allocations: 1.375 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.3443, allocations: 73.08 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.3444, allocations: 0 / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.3449, allocations: 175.1 kB / 0.5365 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.345, allocations: 56.53 kB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.3452, allocations: 226.2 kB / 0.5368 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3452, allocations: 26.83 kB / 0.5368 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.3453, allocations: 109.5 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.3453, allocations: 20.06 kB / 0.5369 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.3454, allocations: 24.17 kB / 0.5369 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3455, allocations: 331 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.3456, allocations: 14.78 kB / 0.5373 GB, free: 8.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.3456, allocations: 35.86 kB / 0.5373 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3458, allocations: 74.91 kB / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3458, allocations: 0 / 0.5374 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.346, allocations: 104.4 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.346, allocations: 5.312 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3461, allocations: 1.031 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3461, allocations: 1.031 kB / 0.5375 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3462, allocations: 17.38 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3462, allocations: 1.062 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.3463, allocations: 5.703 kB / 0.5375 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3463, allocations: 14.88 kB / 0.5375 GB, free: 8.812 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.0001214/0.3464, allocations: 125.5 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3464, allocations: 9.062 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3465, allocations: 19.7 kB / 0.5377 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3465, allocations: 5.266 kB / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3465, allocations: 0 / 0.5377 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.3466, allocations: 88.05 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3466, allocations: 13.02 kB / 0.5378 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.27e-05/0.3467, allocations: 2.188 kB / 0.5378 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3467, allocations: 6.781 kB / 0.5378 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000242/0.347, allocations: 180.5 kB / 0.5379 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003287/0.3473, allocations: 270.8 kB / 0.5382 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001001/0.3474, allocations: 29.58 kB / 0.5382 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.3477, allocations: 169.8 kB / 0.5384 GB, free: 8.035 MB / 398.1 MB Notification: Performance of Backend: time 6.01e-07/0.3477, allocations: 7.938 kB / 0.5384 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3494, allocations: 489.3 kB / 0.5389 GB, free: 7.797 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007048/0.3501, allocations: 0.6898 MB / 0.5395 GB, free: 7.141 MB / 398.1 MB Notification: Performance of Templates: time 0.00494/0.355, allocations: 1.831 MB / 0.5413 GB, free: 6.207 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches