Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.001481, 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.00188/0.00188, 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.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 80.09 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3002, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002815/0.303, allocations: 1.626 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.304, allocations: 0.5283 MB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3041, allocations: 1.188 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3044, allocations: 95.23 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3047, allocations: 113.8 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.305, allocations: 98.47 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.3051, allocations: 80.88 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.3052, allocations: 16.83 kB / 0.5342 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.3053, allocations: 35.81 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3054, allocations: 60.69 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3054, allocations: 2.75 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3056, allocations: 44.86 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.3056, allocations: 24.16 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.3057, allocations: 38.56 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3058, allocations: 106.2 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3059, allocations: 1.375 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3059, allocations: 3.938 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3059, allocations: 0 / 0.5345 GB, free: 11.5 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.0004671/0.3063, allocations: 426.8 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/0.3064, allocations: 9.625 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.3065, allocations: 14.25 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.3067, allocations: 200.5 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3067, allocations: 1.75 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.3067, allocations: 3.125 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3069, allocations: 62.11 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3069, allocations: 1.375 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3069, allocations: 0 / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3069, allocations: 1.375 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.307, allocations: 31.05 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.3074, allocations: 300.2 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.3075, allocations: 47.03 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.3076, allocations: 15.73 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3076, allocations: 1.375 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.3076, allocations: 38.5 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3077, allocations: 1.375 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000905/0.3086, allocations: 225.5 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3086, allocations: 56.53 kB / 0.5358 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3088, allocations: 234.1 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3089, allocations: 31.05 kB / 0.5361 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.3089, allocations: 109.6 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.309, allocations: 23.41 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.309, allocations: 23.98 kB / 0.5362 GB, free: 9.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3092, allocations: 323.3 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.3093, allocations: 25.23 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.3093, allocations: 26.08 kB / 0.5366 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3095, allocations: 60.3 kB / 0.5367 GB, free: 9.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3095, allocations: 3.938 kB / 0.5367 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002089/0.3097, allocations: 101 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3097, allocations: 5.656 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3097, allocations: 0 / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3098, allocations: 4 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.3099, allocations: 21.86 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3099, allocations: 5.125 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.31, allocations: 7.406 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.31, allocations: 2.156 kB / 0.5368 GB, free: 9.359 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.167e-05/0.3101, allocations: 134.9 kB / 0.5369 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3101, allocations: 13.62 kB / 0.537 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.3104, allocations: 124.8 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3104, allocations: 1.156 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3104, allocations: 0 / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3104, allocations: 3.938 kB / 0.5371 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.311, allocations: 408.5 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.311, allocations: 0.9375 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.3111, allocations: 17.92 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3111, allocations: 9.031 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3111, allocations: 1.125 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3111, allocations: 13.14 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3111, allocations: 1.094 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3114, allocations: 195.9 kB / 0.5377 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.3114, allocations: 100.5 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3114, allocations: 1.125 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.3115, allocations: 3.281 kB / 0.5378 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3116, allocations: 15.27 kB / 0.5378 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3116, allocations: 3.281 kB / 0.5378 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3118, allocations: 178.3 kB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.3118, allocations: 0 / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3121, allocations: 22.45 kB / 0.538 GB, free: 8.297 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.001055/0.3131, allocations: 448.3 kB / 0.5384 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.3133, allocations: 58.47 kB / 0.5385 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3134, allocations: 5.219 kB / 0.5385 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.3135, allocations: 41.22 kB / 0.5385 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3138, allocations: 36.69 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.3144, allocations: 296.6 kB / 0.5388 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3147, allocations: 0.7131 MB / 0.5395 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3147, allocations: 18.45 kB / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3147, allocations: 0 / 0.5396 GB, free: 7.051 MB / 398.1 MB Notification: Performance of Templates: time 0.003972/0.3187, allocations: 1.805 MB / 0.5413 GB, free: 6.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches