Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, allocations: 115.6 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002051/0.002051, allocations: 206.7 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.12 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.86 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2913, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002955/0.2943, allocations: 1.616 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2954, allocations: 0.5598 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.2954, allocations: 0 / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.2956, allocations: 28.61 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.2959, allocations: 76.2 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2962, allocations: 114.5 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2964, allocations: 69.02 kB / 0.5341 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.2964, allocations: 8.641 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.2965, allocations: 31.05 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.2966, allocations: 29.19 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2966, allocations: 4.094 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2968, allocations: 109.1 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.2968, allocations: 15.08 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.2968, allocations: 25.11 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.2971, allocations: 150.4 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2971, allocations: 0 / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2971, allocations: 0 / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2971, allocations: 1.188 kB / 0.5345 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005672/0.2977, allocations: 407.8 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2977, allocations: 10.31 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2978, allocations: 8.141 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.298, allocations: 197.6 kB / 0.5351 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.298, allocations: 5.688 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.298, allocations: 3.188 kB / 0.5351 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2982, allocations: 72.17 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2982, allocations: 0 / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2982, allocations: 1 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2982, allocations: 0 / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.897e-05/0.2983, allocations: 29.72 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.2988, allocations: 288.4 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2989, allocations: 53.73 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.299, allocations: 22.56 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.299, allocations: 1.375 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.299, allocations: 35.94 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.299, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006347/0.2997, allocations: 186.4 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2997, allocations: 78.48 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2999, allocations: 153.2 kB / 0.536 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2999, allocations: 29.7 kB / 0.536 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3, allocations: 96.25 kB / 0.5361 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3, allocations: 22.55 kB / 0.5361 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3001, allocations: 24.58 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3002, allocations: 321.5 kB / 0.5365 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.3003, allocations: 32.47 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3004, allocations: 44.94 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3006, allocations: 76.41 kB / 0.5366 GB, free: 9.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3006, allocations: 3.938 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.3008, allocations: 108.2 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3008, allocations: 5.562 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3008, allocations: 0 / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3008, allocations: 1.375 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3009, allocations: 21.23 kB / 0.5367 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3009, allocations: 1.375 kB / 0.5367 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.301, allocations: 3.25 kB / 0.5367 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.301, allocations: 14.08 kB / 0.5368 GB, free: 9.316 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.0001024/0.3011, allocations: 114.1 kB / 0.5369 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.3011, allocations: 16.34 kB / 0.5369 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3014, allocations: 113.1 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3014, allocations: 4 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3014, allocations: 5.031 kB / 0.537 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3014, allocations: 3.938 kB / 0.537 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.302, allocations: 398.2 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.302, allocations: 0 / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.3021, allocations: 16.11 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3021, allocations: 0.875 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3021, allocations: 8.625 kB / 0.5374 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3021, allocations: 5.125 kB / 0.5374 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3021, allocations: 0 / 0.5374 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3024, allocations: 194.2 kB / 0.5376 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.3024, allocations: 87.2 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.3025, allocations: 5.156 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.3025, allocations: 3.344 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3026, allocations: 11.42 kB / 0.5377 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.3026, allocations: 5.125 kB / 0.5377 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3027, allocations: 111.5 kB / 0.5378 GB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3027, allocations: 0 / 0.5378 GB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000301/0.303, allocations: 42.08 kB / 0.5379 GB, free: 8.312 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 (7): * Single equations (assignments): 7 * 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.001749/0.3047, allocations: 0.5004 MB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.305, allocations: 72.64 kB / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.305, allocations: 0 / 0.5384 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.3051, allocations: 36.75 kB / 0.5384 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3054, allocations: 10.88 kB / 0.5385 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.3059, allocations: 197.9 kB / 0.5386 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3062, allocations: 0.6997 MB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.3063, allocations: 21.83 kB / 0.5393 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.3064, allocations: 23.55 kB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3064, allocations: 0 / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.00515/0.3115, allocations: 1.95 MB / 0.5413 GB, free: 6.078 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches