Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, 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.001795/0.001796, 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.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 79.86 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002706/0.2817, allocations: 1.601 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.2826, allocations: 0.5244 MB / 0.5337 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.2827, allocations: 3.938 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.2829, allocations: 29.59 kB / 0.5338 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.2831, allocations: 72.09 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2834, allocations: 99.5 kB / 0.5339 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2836, allocations: 53.53 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2837, allocations: 20.03 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.2837, allocations: 20.12 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.2838, allocations: 21.73 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2838, allocations: 1.812 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.2839, allocations: 45.06 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.2839, allocations: 15.67 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.284, allocations: 20.78 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2842, allocations: 80.27 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2842, allocations: 1.031 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2842, allocations: 0 / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.2842, allocations: 0 / 0.5342 GB, free: 11.64 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.0004161/0.2846, allocations: 387.7 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2847, allocations: 9.469 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.2847, allocations: 8.719 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2849, allocations: 199.2 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.285, allocations: 9.469 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.285, allocations: 3 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2851, allocations: 51.42 kB / 0.5348 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2851, allocations: 3.984 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2851, allocations: 1.375 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2851, allocations: 0 / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.2852, allocations: 21.73 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.2856, allocations: 284.1 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.2858, allocations: 39.06 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.2858, allocations: 15.81 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2859, allocations: 0 / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2859, allocations: 39.94 kB / 0.5352 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2859, allocations: 4 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.2864, allocations: 145.6 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2865, allocations: 52.78 kB / 0.5354 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2866, allocations: 166.6 kB / 0.5356 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2866, allocations: 25.7 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.2867, allocations: 104.2 kB / 0.5357 GB, free: 10.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2867, allocations: 14.56 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.2868, allocations: 21.83 kB / 0.5357 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2869, allocations: 317.6 kB / 0.536 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.287, allocations: 25.53 kB / 0.5361 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.2871, allocations: 22.92 kB / 0.5361 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2872, allocations: 40.22 kB / 0.5361 GB, free: 9.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.2872, allocations: 4 kB / 0.5361 GB, free: 9.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.2874, allocations: 81.19 kB / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2874, allocations: 5.5 kB / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2874, allocations: 0 / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2874, allocations: 0 / 0.5362 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.2875, allocations: 14.98 kB / 0.5362 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2875, allocations: 3.938 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.2876, allocations: 10.69 kB / 0.5362 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2876, allocations: 1.375 kB / 0.5363 GB, free: 9.656 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.185e-05/0.2877, allocations: 119.3 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.2877, allocations: 12.02 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.288, allocations: 90.31 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.288, allocations: 1.438 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.288, allocations: 0 / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.288, allocations: 3.938 kB / 0.5365 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.2884, allocations: 356.3 kB / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2884, allocations: 0 / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.2885, allocations: 9.625 kB / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2885, allocations: 1.094 kB / 0.5368 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2885, allocations: 3.938 kB / 0.5368 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.2885, allocations: 5.078 kB / 0.5368 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2885, allocations: 0 / 0.5368 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.2888, allocations: 187.8 kB / 0.537 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.2888, allocations: 79.52 kB / 0.5371 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2888, allocations: 5.344 kB / 0.5371 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.2889, allocations: 6.172 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.2889, allocations: 2.219 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.289, allocations: 2.156 kB / 0.5371 GB, free: 8.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.747e-05/0.2891, allocations: 123.4 kB / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2891, allocations: 0 / 0.5372 GB, free: 8.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.2893, allocations: 30.58 kB / 0.5372 GB, free: 8.707 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.0009087/0.2902, allocations: 409.3 kB / 0.5376 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.2905, allocations: 43.53 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2905, allocations: 0 / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.2905, allocations: 31.73 kB / 0.5377 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.2909, allocations: 22.45 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.2913, allocations: 210.3 kB / 0.5379 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2915, allocations: 0.6984 MB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.2916, allocations: 17.14 kB / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2916, allocations: 0 / 0.5386 GB, free: 7.539 MB / 398.1 MB Notification: Performance of Templates: time 0.003005/0.2946, allocations: 1.443 MB / 0.54 GB, free: 6.793 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches