Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 107.1 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.001246/0.001246, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 76.11 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 62.45 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003155/0.3363, allocations: 1.749 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3381, allocations: 1.024 MB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.3382, allocations: 1.344 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3385, allocations: 106.8 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.3389, allocations: 132.8 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3392, allocations: 78.98 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3394, allocations: 129.1 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3396, allocations: 19.23 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3397, allocations: 69.19 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.3398, allocations: 65.05 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3398, allocations: 5.625 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.34, allocations: 64.11 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.3401, allocations: 30.86 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.3401, allocations: 49.28 kB / 0.5352 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3404, allocations: 155.7 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3404, allocations: 0 / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3404, allocations: 1.375 kB / 0.5353 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3404, allocations: 0 / 0.5353 GB, free: 10.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005819/0.341, allocations: 460.3 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.341, allocations: 12.19 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.3411, allocations: 15.62 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3414, allocations: 225.5 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3415, allocations: 7.125 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3415, allocations: 10.86 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3417, allocations: 63.48 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3417, allocations: 8 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3417, allocations: 1.375 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3417, allocations: 1.375 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.3418, allocations: 32.59 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3423, allocations: 315.2 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.3425, allocations: 76.36 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.3426, allocations: 28.81 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.3427, allocations: 2.031 kB / 0.5365 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.3428, allocations: 80.66 kB / 0.5366 GB, free: 9.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3429, allocations: 0 / 0.5366 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008172/0.3437, allocations: 272.4 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3437, allocations: 52.59 kB / 0.5369 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.344, allocations: 266.8 kB / 0.5372 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.344, allocations: 30.86 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.3441, allocations: 112 kB / 0.5373 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.3441, allocations: 37.36 kB / 0.5374 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.3442, allocations: 26.78 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3443, allocations: 336.4 kB / 0.5377 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.3444, allocations: 32.8 kB / 0.5377 GB, free: 8.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.3445, allocations: 50.45 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3446, allocations: 85.27 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3447, allocations: 1.031 kB / 0.5379 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002456/0.3449, allocations: 146.8 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3449, allocations: 4.688 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3449, allocations: 4.906 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.345, allocations: 1.125 kB / 0.538 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.3451, allocations: 30.73 kB / 0.538 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3451, allocations: 4.969 kB / 0.5381 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.3451, allocations: 6.062 kB / 0.5381 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3451, allocations: 4 kB / 0.5381 GB, free: 8.523 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 (14): * Single equations (assignments): 14 * 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.0001428/0.3453, allocations: 137.3 kB / 0.5382 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.3453, allocations: 19.7 kB / 0.5382 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.3454, allocations: 22.16 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3454, allocations: 0 / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3454, allocations: 0.9062 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.3455, allocations: 104.4 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.3455, allocations: 1.25 kB / 0.5383 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.3455, allocations: 6.094 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3456, allocations: 13.47 kB / 0.5384 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002633/0.3459, allocations: 209.3 kB / 0.5386 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003315/0.3462, allocations: 312.1 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.312e-05/0.3463, allocations: 48.53 kB / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.3465, allocations: 195.8 kB / 0.5391 GB, free: 7.676 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3465, allocations: 1.219 kB / 0.5391 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.348, allocations: 0.5527 MB / 0.5396 GB, free: 7.414 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007197/0.3487, allocations: 0.7281 MB / 0.5403 GB, free: 6.738 MB / 398.1 MB Notification: Performance of Templates: time 0.005738/0.3545, allocations: 2.189 MB / 0.5425 GB, free: 5.637 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches