Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 79.86 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2773, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00284/0.2802, allocations: 1.621 MB / 0.5333 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.2812, allocations: 0.5416 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.2813, allocations: 1.219 kB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.2816, allocations: 110.5 kB / 0.5339 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.282, allocations: 118.4 kB / 0.534 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.2823, allocations: 88.05 kB / 0.5341 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.2825, allocations: 95.86 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2826, allocations: 17.08 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.2827, allocations: 37.83 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.2829, allocations: 65.47 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2829, allocations: 3.406 kB / 0.5343 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.283, allocations: 44.55 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.2831, allocations: 29.73 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.2831, allocations: 41.91 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2833, allocations: 117.4 kB / 0.5345 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.2834, allocations: 4 kB / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2834, allocations: 0 / 0.5345 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.2834, allocations: 1.375 kB / 0.5345 GB, free: 11.51 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.0004889/0.2839, allocations: 424.1 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2839, allocations: 9.625 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.284, allocations: 10.34 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2842, allocations: 219.3 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2842, allocations: 1.75 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2842, allocations: 3.125 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2844, allocations: 58.17 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2844, allocations: 0 / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2844, allocations: 1.375 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2844, allocations: 0 / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2845, allocations: 27.09 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.2849, allocations: 309.5 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.285, allocations: 43.05 kB / 0.5356 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.285, allocations: 17.11 kB / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2851, allocations: 0 / 0.5356 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2851, allocations: 31.94 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2851, allocations: 0 / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008856/0.286, allocations: 242.9 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.286, allocations: 52.78 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.2863, allocations: 257.3 kB / 0.5362 GB, free: 9.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.2863, allocations: 26.8 kB / 0.5362 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2864, allocations: 114.5 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2864, allocations: 30.83 kB / 0.5363 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.2865, allocations: 20.41 kB / 0.5363 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.2866, allocations: 323.2 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.2867, allocations: 29.66 kB / 0.5367 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.2868, allocations: 22.73 kB / 0.5367 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.2869, allocations: 63.77 kB / 0.5368 GB, free: 9.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2869, allocations: 0 / 0.5368 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002231/0.2871, allocations: 105.1 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2872, allocations: 5.062 kB / 0.5369 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2872, allocations: 7.938 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2872, allocations: 1.062 kB / 0.5369 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2873, allocations: 17.05 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2873, allocations: 1.75 kB / 0.5369 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.2874, allocations: 14.55 kB / 0.5369 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2874, allocations: 2.406 kB / 0.5369 GB, free: 9.34 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 9.084e-05/0.2875, allocations: 131 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.2875, allocations: 14.72 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.2878, allocations: 129.2 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.2879, allocations: 1.094 kB / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2879, allocations: 0 / 0.5372 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2879, allocations: 9.125 kB / 0.5372 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.2884, allocations: 401.8 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2884, allocations: 0 / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.2884, allocations: 18.83 kB / 0.5376 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.2885, allocations: 3.938 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2885, allocations: 6.219 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2885, allocations: 5.047 kB / 0.5376 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2885, allocations: 4.031 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2888, allocations: 201.2 kB / 0.5378 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.2888, allocations: 92.41 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2888, allocations: 1.156 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.2889, allocations: 7.469 kB / 0.5379 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.289, allocations: 11.42 kB / 0.5379 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.289, allocations: 2.25 kB / 0.5379 GB, free: 8.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.2891, allocations: 188.5 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2891, allocations: 1.25 kB / 0.5381 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.2894, allocations: 22 kB / 0.5381 GB, free: 8.289 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.0009802/0.2904, allocations: 459 kB / 0.5385 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2906, allocations: 70.02 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2906, allocations: 0 / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.2907, allocations: 33.7 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.2911, allocations: 31.64 kB / 0.5387 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.2916, allocations: 323.1 kB / 0.539 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2919, allocations: 0.7072 MB / 0.5397 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.2919, allocations: 22.3 kB / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2919, allocations: 0 / 0.5397 GB, free: 7.016 MB / 398.1 MB Notification: Performance of Templates: time 0.003754/0.2957, allocations: 1.833 MB / 0.5415 GB, free: 6.066 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches