Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 109 kB / 18.45 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.001472/0.001472, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.11 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.296, allocations: 62.43 MB / 0.5317 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00278/0.2989, allocations: 1.594 MB / 0.5332 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.2998, allocations: 0.5268 MB / 0.5337 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.2998, allocations: 1.375 kB / 0.5337 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.3001, allocations: 23.97 kB / 0.5338 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.3004, allocations: 80.38 kB / 0.5338 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3006, allocations: 97.89 kB / 0.5339 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3008, allocations: 58.02 kB / 0.534 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.3009, allocations: 17.42 kB / 0.534 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.301, allocations: 25.48 kB / 0.534 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.301, allocations: 25.3 kB / 0.5341 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3011, allocations: 2.75 kB / 0.5341 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.3011, allocations: 40.61 kB / 0.5341 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.3012, allocations: 8.109 kB / 0.5341 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.3012, allocations: 23.94 kB / 0.5341 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3014, allocations: 83.22 kB / 0.5342 GB, free: 11.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3014, allocations: 1.375 kB / 0.5342 GB, free: 11.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3014, allocations: 0 / 0.5342 GB, free: 11.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.3014, allocations: 0 / 0.5342 GB, free: 11.89 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.0004023/0.3018, allocations: 381.6 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.3019, allocations: 9.625 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.302, allocations: 20.91 kB / 0.5346 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3021, allocations: 190.7 kB / 0.5348 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3021, allocations: 5.734 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3022, allocations: 1.75 kB / 0.5348 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3023, allocations: 52.81 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3023, allocations: 0 / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3024, allocations: 0 / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3024, allocations: 1.375 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.3025, allocations: 20.36 kB / 0.5349 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.3028, allocations: 280.1 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.303, allocations: 39.06 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.3031, allocations: 19.81 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.3031, allocations: 0 / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3031, allocations: 35.94 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.536e-06/0.3031, allocations: 3.984 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005748/0.3037, allocations: 141.8 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.3038, allocations: 52.78 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3039, allocations: 146.7 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3039, allocations: 27.05 kB / 0.5356 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.304, allocations: 103.2 kB / 0.5357 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.304, allocations: 21.77 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.304, allocations: 26.27 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3042, allocations: 320.1 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.3043, allocations: 14.83 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.3043, allocations: 18.8 kB / 0.5361 GB, free: 10.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3045, allocations: 51.89 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3045, allocations: 1.469 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.3047, allocations: 75.39 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3047, allocations: 5 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3047, allocations: 8.859 kB / 0.5362 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3047, allocations: 1 kB / 0.5362 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.3048, allocations: 13.28 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3048, allocations: 1.312 kB / 0.5362 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.3049, allocations: 6.797 kB / 0.5362 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3049, allocations: 8.938 kB / 0.5362 GB, free: 9.918 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 7.942e-05/0.305, allocations: 118.9 kB / 0.5363 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.305, allocations: 8.25 kB / 0.5363 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.3053, allocations: 92.95 kB / 0.5364 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3053, allocations: 3.984 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.3053, allocations: 1.281 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3053, allocations: 0 / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.3057, allocations: 354.4 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3057, allocations: 0 / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.3058, allocations: 14.42 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3058, allocations: 0 / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3058, allocations: 1.125 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3058, allocations: 5.156 kB / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3058, allocations: 0 / 0.5368 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3061, allocations: 184 kB / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.3061, allocations: 77.98 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3061, allocations: 0.9062 kB / 0.537 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.3062, allocations: 7.219 kB / 0.5371 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.3063, allocations: 6.203 kB / 0.5371 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.3063, allocations: 6.312 kB / 0.5371 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.995e-05/0.3064, allocations: 124.5 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3064, allocations: 4 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.3067, allocations: 22.19 kB / 0.5372 GB, free: 8.969 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.0009034/0.3076, allocations: 387.7 kB / 0.5376 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.3078, allocations: 47.03 kB / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3078, allocations: 1.031 kB / 0.5376 GB, free: 8.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3079, allocations: 27.08 kB / 0.5376 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3082, allocations: 23.83 kB / 0.5377 GB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.3086, allocations: 201.1 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3089, allocations: 0.6991 MB / 0.5385 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.309, allocations: 12.78 kB / 0.5386 GB, free: 7.828 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.309, allocations: 0 / 0.5386 GB, free: 7.828 MB / 398.1 MB Notification: Performance of Templates: time 0.003246/0.3122, allocations: 1.432 MB / 0.54 GB, free: 7.082 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches