Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001636, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, 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.2632/0.2632, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3673, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003484/0.3708, allocations: 1.598 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.373, allocations: 1.164 MB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.3731, allocations: 4 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.3735, allocations: 33.33 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.3739, allocations: 77.77 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.3743, allocations: 113.3 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3745, allocations: 67.33 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3747, allocations: 18.86 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.3748, allocations: 25.48 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.375, allocations: 34.84 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.3751, allocations: 4.125 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.3753, allocations: 100.1 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.3754, allocations: 14.67 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.3754, allocations: 21.38 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3757, allocations: 142.5 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3758, allocations: 0 / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3758, allocations: 1.375 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3758, allocations: 0 / 0.5343 GB, free: 11.03 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.0006908/0.3765, allocations: 399.7 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3765, allocations: 9.344 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3766, allocations: 12.84 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3768, allocations: 191.1 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3768, allocations: 1.938 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3769, allocations: 1.844 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.377, allocations: 68.36 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3771, allocations: 4 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3771, allocations: 1.25 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3771, allocations: 0 / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.887e-05/0.3772, allocations: 26.61 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.3776, allocations: 291.3 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3778, allocations: 49.3 kB / 0.5353 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.3779, allocations: 16.27 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3779, allocations: 3.938 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.378, allocations: 31.91 kB / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.378, allocations: 0 / 0.5354 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006097/0.3786, allocations: 154.7 kB / 0.5355 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.3787, allocations: 82.5 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3788, allocations: 143.5 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3789, allocations: 27.02 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.3789, allocations: 90.42 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.379, allocations: 21.86 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.379, allocations: 23.16 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3792, allocations: 325 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.3793, allocations: 23.3 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3794, allocations: 32.77 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3796, allocations: 54.62 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3796, allocations: 1.062 kB / 0.5363 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002109/0.3798, allocations: 83.39 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3799, allocations: 9.781 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3799, allocations: 4.062 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3799, allocations: 1.188 kB / 0.5364 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.38, allocations: 13.11 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.38, allocations: 1.188 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.38, allocations: 14.22 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3801, allocations: 6.281 kB / 0.5365 GB, free: 8.961 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.0001231/0.3802, allocations: 113.7 kB / 0.5366 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3802, allocations: 8.531 kB / 0.5366 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.3805, allocations: 103 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3805, allocations: 1.062 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3806, allocations: 1.094 kB / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3806, allocations: 0 / 0.5367 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.3811, allocations: 359.4 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3811, allocations: 0 / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.3812, allocations: 14.47 kB / 0.537 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3812, allocations: 11.86 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.3812, allocations: 1.156 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3812, allocations: 3.938 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3812, allocations: 1.125 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3814, allocations: 182 kB / 0.5372 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3815, allocations: 83.17 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3815, allocations: 1.438 kB / 0.5373 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3816, allocations: 7.531 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.3816, allocations: 5.672 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3817, allocations: 5.469 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.3817, allocations: 116.9 kB / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3818, allocations: 0 / 0.5374 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.382, allocations: 40.25 kB / 0.5375 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.001153/0.3832, allocations: 0.4946 MB / 0.538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3835, allocations: 54.31 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3835, allocations: 0 / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.3836, allocations: 28.91 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.384, allocations: 22.38 kB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.3844, allocations: 177.8 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3847, allocations: 0.6945 MB / 0.5389 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.775e-05/0.3848, allocations: 17.23 kB / 0.5389 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.3849, allocations: 18.14 kB / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3849, allocations: 0 / 0.5389 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004418/0.3893, allocations: 1.77 MB / 0.5407 GB, free: 5.895 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches