Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001231/0.001231, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001486, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 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.2243/0.2243, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 76.09 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003657/0.3645, allocations: 1.609 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3657, allocations: 0.5411 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3658, allocations: 1.375 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.3663, allocations: 118.8 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.3667, allocations: 130.4 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.367, allocations: 87.2 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3673, allocations: 98.3 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3674, allocations: 27.78 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.3675, allocations: 42.02 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3677, allocations: 82.48 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3677, allocations: 2.938 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.3678, allocations: 45.5 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.3678, allocations: 27.14 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.3679, allocations: 42.23 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3681, allocations: 123.3 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3681, allocations: 0 / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3681, allocations: 1.031 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3682, allocations: 0 / 0.5339 GB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005257/0.3687, allocations: 434.5 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3687, allocations: 13.19 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3688, allocations: 15.56 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.369, allocations: 210.2 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.369, allocations: 1.5 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.3691, allocations: 10.69 kB / 0.5346 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3692, allocations: 58.27 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3692, allocations: 1.125 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3693, allocations: 4 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3693, allocations: 0.7812 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.3694, allocations: 31.56 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3698, allocations: 303.5 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3699, allocations: 45.98 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.37, allocations: 20.84 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.37, allocations: 1.094 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.37, allocations: 35.69 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.37, allocations: 0 / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009206/0.371, allocations: 236.3 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.371, allocations: 52.78 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.3713, allocations: 282.3 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3713, allocations: 25.7 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3714, allocations: 120.3 kB / 0.5357 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3714, allocations: 27.41 kB / 0.5358 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3715, allocations: 26.98 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3716, allocations: 324.3 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.3717, allocations: 24.95 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.844e-05/0.3717, allocations: 22.33 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3719, allocations: 64.14 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3719, allocations: 3.938 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002058/0.3721, allocations: 101.9 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3722, allocations: 5.406 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3722, allocations: 0 / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3722, allocations: 5.125 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3723, allocations: 17.27 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3723, allocations: 1.062 kB / 0.5363 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.3724, allocations: 11.16 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3724, allocations: 6.219 kB / 0.5363 GB, free: 9.258 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 (8): * Single equations (assignments): 8 * 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.0001095/0.3725, allocations: 137 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.3725, allocations: 15.2 kB / 0.5365 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.3728, allocations: 126 kB / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3729, allocations: 1.25 kB / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3729, allocations: 0 / 0.5366 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3729, allocations: 9.219 kB / 0.5366 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.3734, allocations: 407.7 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3734, allocations: 1.406 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.844e-05/0.3735, allocations: 16.83 kB / 0.537 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3735, allocations: 5.125 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3735, allocations: 1.281 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3735, allocations: 9.188 kB / 0.537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3735, allocations: 4.984 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3738, allocations: 213.4 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.3739, allocations: 96.06 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.3739, allocations: 2.125 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.374, allocations: 3.188 kB / 0.5373 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.374, allocations: 7.172 kB / 0.5374 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-06/0.374, allocations: 6.156 kB / 0.5374 GB, free: 8.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3742, allocations: 209 kB / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3742, allocations: 0 / 0.5376 GB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3745, allocations: 27.17 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001022/0.3755, allocations: 461.7 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3757, allocations: 58.78 kB / 0.5381 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3758, allocations: 0 / 0.5381 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.3759, allocations: 41.72 kB / 0.5381 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3762, allocations: 26.44 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.3768, allocations: 302.1 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3771, allocations: 0.7209 MB / 0.5391 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.3772, allocations: 15.94 kB / 0.5392 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.3772, allocations: 12.97 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3772, allocations: 1.094 kB / 0.5392 GB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.003878/0.3811, allocations: 1.403 MB / 0.5405 GB, free: 6.227 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches