Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2036/0.2036, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.88 kB / 482 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2826, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002894/0.2856, allocations: 1.601 MB / 0.5332 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2872, allocations: 1.153 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.2873, allocations: 1.094 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.2875, allocations: 28.06 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.2878, allocations: 77.81 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.2882, allocations: 98.44 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.2883, allocations: 61.95 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.2884, allocations: 18.8 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.2885, allocations: 30.86 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2886, allocations: 33.47 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.2886, allocations: 4.125 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2888, allocations: 104.1 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.2889, allocations: 10.69 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2889, allocations: 23.98 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.2892, allocations: 135.9 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2892, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2892, allocations: 3.938 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2893, allocations: 0 / 0.535 GB, free: 11.02 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.0004582/0.2897, allocations: 399.8 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2898, allocations: 13.62 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.2898, allocations: 8.969 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.29, allocations: 190.3 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.29, allocations: 1.75 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.29, allocations: 5.75 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2902, allocations: 59.91 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2903, allocations: 5.312 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2903, allocations: 0 / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2903, allocations: 5.375 kB / 0.5356 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.2904, allocations: 28.28 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.2907, allocations: 274.8 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2909, allocations: 44.38 kB / 0.536 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.291, allocations: 23.8 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.291, allocations: 4 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2911, allocations: 31.94 kB / 0.536 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2911, allocations: 0 / 0.536 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005922/0.2917, allocations: 145.4 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2917, allocations: 78.2 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2919, allocations: 147.3 kB / 0.5364 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2919, allocations: 26.89 kB / 0.5364 GB, free: 9.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.292, allocations: 94.81 kB / 0.5365 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.292, allocations: 21.84 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.292, allocations: 19.28 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2921, allocations: 320 kB / 0.5368 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/0.2922, allocations: 19.23 kB / 0.5368 GB, free: 9.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2923, allocations: 39.02 kB / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.2925, allocations: 47.11 kB / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2925, allocations: 0.875 kB / 0.5369 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.2927, allocations: 76.67 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2927, allocations: 5.094 kB / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2927, allocations: 0 / 0.537 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2927, allocations: 9.469 kB / 0.537 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.2928, allocations: 12.67 kB / 0.537 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2928, allocations: 1.312 kB / 0.537 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.2929, allocations: 14.98 kB / 0.537 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2929, allocations: 5 kB / 0.5371 GB, free: 8.969 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 8.253e-05/0.293, allocations: 114.8 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.293, allocations: 2.594 kB / 0.5372 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.2933, allocations: 97.12 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2933, allocations: 1.062 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2933, allocations: 0 / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2933, allocations: 1.125 kB / 0.5373 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.2938, allocations: 349.7 kB / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2938, allocations: 1.5 kB / 0.5376 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.2938, allocations: 20.88 kB / 0.5376 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2938, allocations: 0.9375 kB / 0.5376 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.2939, allocations: 12.86 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2939, allocations: 3.938 kB / 0.5376 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2939, allocations: 1.062 kB / 0.5376 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.2941, allocations: 171 kB / 0.5378 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.2941, allocations: 83.41 kB / 0.5379 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2942, allocations: 1.156 kB / 0.5379 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.2943, allocations: 11.31 kB / 0.5379 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2943, allocations: 2.219 kB / 0.5379 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2943, allocations: 5.297 kB / 0.5379 GB, free: 8.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.685e-05/0.2944, allocations: 110.2 kB / 0.538 GB, free: 8.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2944, allocations: 0 / 0.538 GB, free: 8.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.2947, allocations: 43.86 kB / 0.538 GB, free: 8.023 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.001085/0.2958, allocations: 0.4974 MB / 0.5385 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.296, allocations: 48.66 kB / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.296, allocations: 0 / 0.5386 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.2961, allocations: 23.33 kB / 0.5386 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2964, allocations: 19.39 kB / 0.5386 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.2968, allocations: 187.9 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.2971, allocations: 0.6893 MB / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.2971, allocations: 22.14 kB / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2972, allocations: 0 / 0.5395 GB, free: 6.828 MB / 398.1 MB Notification: Performance of Templates: time 0.00385/0.301, allocations: 1.933 MB / 0.5414 GB, free: 5.832 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches