Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 71.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3654, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003657/0.3691, allocations: 1.594 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3712, allocations: 1.16 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.3713, allocations: 3.938 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.3717, allocations: 29.34 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.3721, allocations: 81.75 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.3724, allocations: 113.2 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3726, allocations: 67.39 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3728, allocations: 14.86 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.3728, allocations: 26.86 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.373, allocations: 38.78 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3731, allocations: 8.062 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3733, allocations: 94.8 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.3733, allocations: 12.06 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.3734, allocations: 27.98 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.3737, allocations: 143.5 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3737, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3737, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3737, allocations: 0 / 0.535 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005879/0.3743, allocations: 396 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3744, allocations: 10.03 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.3744, allocations: 16.31 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3747, allocations: 191.4 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3747, allocations: 5.781 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3748, allocations: 1.062 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3749, allocations: 69.16 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.375, allocations: 3.984 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.375, allocations: 1.219 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.375, allocations: 0 / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.952e-05/0.3751, allocations: 22.77 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.3756, allocations: 295.8 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.3759, allocations: 47.89 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.3759, allocations: 20.12 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.376, allocations: 1 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.376, allocations: 32.47 kB / 0.5361 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.376, allocations: 4 kB / 0.5361 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006248/0.3767, allocations: 150.4 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.3767, allocations: 78.39 kB / 0.5363 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3769, allocations: 147.2 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3769, allocations: 26.8 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.377, allocations: 91.67 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.377, allocations: 21.78 kB / 0.5366 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3771, allocations: 21.95 kB / 0.5366 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3772, allocations: 321 kB / 0.5369 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.3773, allocations: 23.44 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.3774, allocations: 36.89 kB / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3776, allocations: 54.98 kB / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3776, allocations: 0 / 0.537 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001965/0.3778, allocations: 83.34 kB / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3778, allocations: 5.844 kB / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3778, allocations: 0 / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3778, allocations: 1.344 kB / 0.5371 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.3779, allocations: 13.08 kB / 0.5371 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3779, allocations: 9.188 kB / 0.5371 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.378, allocations: 11.28 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.378, allocations: 5.031 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001079/0.3781, allocations: 122.1 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.3782, allocations: 4.125 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.3784, allocations: 95.84 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.3785, allocations: 1.219 kB / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3785, allocations: 0 / 0.5373 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3785, allocations: 5.016 kB / 0.5373 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.379, allocations: 363.5 kB / 0.5377 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.379, allocations: 0 / 0.5377 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.379, allocations: 13.02 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3791, allocations: 5.312 kB / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3791, allocations: 0 / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3791, allocations: 5.281 kB / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3791, allocations: 0 / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.3794, allocations: 191.1 kB / 0.5379 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3794, allocations: 82.53 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3795, allocations: 1.281 kB / 0.538 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3795, allocations: 6.594 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.3796, allocations: 6.422 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3796, allocations: 1.312 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3797, allocations: 117.5 kB / 0.5381 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3797, allocations: 0 / 0.5381 GB, free: 8.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.38, allocations: 43.45 kB / 0.5381 GB, free: 8.004 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001352/0.3814, allocations: 0.4998 MB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.3817, allocations: 47.59 kB / 0.5387 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3817, allocations: 0 / 0.5387 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.291e-05/0.3818, allocations: 28.98 kB / 0.5387 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3822, allocations: 28.75 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.3827, allocations: 203.8 kB / 0.5389 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.3831, allocations: 0.6907 MB / 0.5396 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.3831, allocations: 14.53 kB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3832, allocations: 0 / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of Templates: time 0.004572/0.3877, allocations: 1.968 MB / 0.5415 GB, free: 5.789 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches