Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 117 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.001901/0.0019, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 76.09 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002967/0.3735, allocations: 1.605 MB / 0.5333 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3747, allocations: 0.5568 MB / 0.5338 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.3748, allocations: 0 / 0.5338 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.3751, allocations: 106.9 kB / 0.5339 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3754, allocations: 118.6 kB / 0.534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.3758, allocations: 118.6 kB / 0.5341 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.376, allocations: 83.86 kB / 0.5342 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3761, allocations: 21.55 kB / 0.5342 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.3762, allocations: 43.08 kB / 0.5343 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3763, allocations: 64.94 kB / 0.5343 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3763, allocations: 4.125 kB / 0.5343 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3764, allocations: 48.86 kB / 0.5344 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3765, allocations: 25.53 kB / 0.5344 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.3766, allocations: 42.55 kB / 0.5344 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3768, allocations: 112.9 kB / 0.5346 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3768, allocations: 1.375 kB / 0.5346 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3768, allocations: 0 / 0.5346 GB, free: 11.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.3768, allocations: 0 / 0.5346 GB, free: 11.71 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.0005334/0.3773, allocations: 425.6 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3774, allocations: 13.61 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3774, allocations: 14.28 kB / 0.535 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3777, allocations: 217.9 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.3777, allocations: 3.125 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3777, allocations: 1.75 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3779, allocations: 59.5 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3779, allocations: 0 / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3779, allocations: 1.375 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3779, allocations: 0 / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.378, allocations: 40.39 kB / 0.5353 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3785, allocations: 307.1 kB / 0.5356 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3786, allocations: 47.05 kB / 0.5356 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.3786, allocations: 24.81 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3787, allocations: 0.9062 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3787, allocations: 31.72 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3787, allocations: 4 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009195/0.3796, allocations: 247.4 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3797, allocations: 53.09 kB / 0.536 GB, free: 10.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.38, allocations: 263 kB / 0.5362 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.38, allocations: 29.7 kB / 0.5363 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3801, allocations: 106.7 kB / 0.5364 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.3801, allocations: 30.95 kB / 0.5364 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3802, allocations: 20.47 kB / 0.5364 GB, free: 9.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3803, allocations: 327.4 kB / 0.5367 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.913e-05/0.3804, allocations: 31.59 kB / 0.5368 GB, free: 9.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.3805, allocations: 25.3 kB / 0.5368 GB, free: 9.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.3806, allocations: 81.41 kB / 0.5369 GB, free: 9.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3806, allocations: 1.125 kB / 0.5369 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002221/0.3809, allocations: 117.7 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3809, allocations: 4.5 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3809, allocations: 1.156 kB / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3809, allocations: 0 / 0.537 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.381, allocations: 21.67 kB / 0.537 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3811, allocations: 5.125 kB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3811, allocations: 11.48 kB / 0.537 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3811, allocations: 2.281 kB / 0.537 GB, free: 9.488 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.0001156/0.3812, allocations: 135.4 kB / 0.5371 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3813, allocations: 13.81 kB / 0.5372 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.3816, allocations: 132.4 kB / 0.5373 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3816, allocations: 1.219 kB / 0.5373 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3816, allocations: 7.984 kB / 0.5373 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3816, allocations: 3.938 kB / 0.5373 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005691/0.3822, allocations: 418.6 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3822, allocations: 1.469 kB / 0.5377 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.3823, allocations: 21.48 kB / 0.5377 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3823, allocations: 5.844 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3823, allocations: 8.031 kB / 0.5377 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3824, allocations: 5.688 kB / 0.5377 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3824, allocations: 0 / 0.5377 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.3826, allocations: 213.3 kB / 0.5379 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.3827, allocations: 88.55 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3827, allocations: 1.406 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.3828, allocations: 12.09 kB / 0.538 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.3829, allocations: 10.7 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3829, allocations: 2.469 kB / 0.538 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.3831, allocations: 192.9 kB / 0.5382 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3831, allocations: 0 / 0.5382 GB, free: 8.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3834, allocations: 24 kB / 0.5383 GB, free: 8.41 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.001116/0.3845, allocations: 451.6 kB / 0.5387 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3848, allocations: 75.47 kB / 0.5388 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3848, allocations: 0 / 0.5388 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3849, allocations: 44.33 kB / 0.5388 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3853, allocations: 32.83 kB / 0.5388 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.386, allocations: 328.6 kB / 0.5391 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.3864, allocations: 0.7199 MB / 0.5398 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3865, allocations: 18.69 kB / 0.5399 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3865, allocations: 4 kB / 0.5399 GB, free: 7.129 MB / 398.1 MB Notification: Performance of Templates: time 0.004851/0.3913, allocations: 1.892 MB / 0.5417 GB, free: 6.148 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches