Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 115.7 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.00197/0.00197, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 76.09 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003652/0.3866, allocations: 1.62 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3878, allocations: 0.5443 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.3878, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3882, allocations: 114.5 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.3886, allocations: 118 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.389, allocations: 110.3 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.3892, allocations: 88.78 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3893, allocations: 25.47 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.035e-05/0.3894, allocations: 39.38 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3895, allocations: 68.67 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.3896, allocations: 3.344 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3897, allocations: 45.7 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.3897, allocations: 29.19 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.3898, allocations: 35.06 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.39, allocations: 113 kB / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.39, allocations: 0 / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.39, allocations: 1.062 kB / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3901, allocations: 4 kB / 0.5346 GB, free: 11.45 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.0005463/0.3906, allocations: 425.4 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3907, allocations: 12.56 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.3907, allocations: 14.53 kB / 0.535 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.391, allocations: 219.2 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.391, allocations: 1.5 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.391, allocations: 6.734 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3912, allocations: 59.64 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3912, allocations: 4 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3912, allocations: 1.094 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3912, allocations: 1.062 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3913, allocations: 23.48 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.3918, allocations: 314.6 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.3919, allocations: 48.02 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.3919, allocations: 17.11 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.392, allocations: 1.375 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.392, allocations: 38.64 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.392, allocations: 0 / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000908/0.3929, allocations: 240.5 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.393, allocations: 55.34 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3933, allocations: 259.9 kB / 0.5362 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3933, allocations: 29.64 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3934, allocations: 111.1 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3934, allocations: 30.73 kB / 0.5364 GB, free: 9.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3935, allocations: 19.19 kB / 0.5364 GB, free: 9.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3936, allocations: 328.4 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.3937, allocations: 32.03 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.3938, allocations: 28.81 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3939, allocations: 77.48 kB / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.394, allocations: 0 / 0.5368 GB, free: 9.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002327/0.3942, allocations: 118.2 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3942, allocations: 7.5 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3942, allocations: 1.062 kB / 0.537 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3943, allocations: 3.938 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3944, allocations: 18.67 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3944, allocations: 0 / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.3944, allocations: 16.39 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3944, allocations: 1.5 kB / 0.537 GB, free: 9.246 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.0001146/0.3946, allocations: 136.4 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.3946, allocations: 13.5 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3949, allocations: 139.6 kB / 0.5373 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3949, allocations: 1.188 kB / 0.5373 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3949, allocations: 0 / 0.5373 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.395, allocations: 5.062 kB / 0.5373 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.3955, allocations: 426.5 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3955, allocations: 0 / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.3956, allocations: 18.55 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3956, allocations: 5.516 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3956, allocations: 1.188 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3956, allocations: 1.156 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3956, allocations: 0 / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.3959, allocations: 225.8 kB / 0.5379 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.396, allocations: 92.06 kB / 0.538 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.396, allocations: 5.719 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3961, allocations: 7.047 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.3961, allocations: 4.125 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.3962, allocations: 2.062 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3964, allocations: 188 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3964, allocations: 5.125 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3966, allocations: 26.58 kB / 0.5383 GB, free: 8.164 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.00109/0.3977, allocations: 442.7 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.398, allocations: 78.94 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.398, allocations: 5.562 kB / 0.5388 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.699e-05/0.3981, allocations: 35.39 kB / 0.5388 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3985, allocations: 37.91 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.3991, allocations: 333.8 kB / 0.5391 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3994, allocations: 0.7168 MB / 0.5398 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.3995, allocations: 13.28 kB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3995, allocations: 5.812 kB / 0.5399 GB, free: 6.887 MB / 398.1 MB Notification: Performance of Templates: time 0.004344/0.4038, allocations: 1.891 MB / 0.5417 GB, free: 5.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches