Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 72.17 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 62.45 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002733/0.3019, allocations: 1.592 MB / 0.5332 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3029, allocations: 0.5464 MB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.303, allocations: 0 / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3032, allocations: 23.94 kB / 0.5338 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.3035, allocations: 84.77 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.3038, allocations: 110.7 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.304, allocations: 62.92 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.3041, allocations: 10.59 kB / 0.534 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.529e-05/0.3042, allocations: 28.12 kB / 0.5341 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.3042, allocations: 26.58 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3042, allocations: 2.719 kB / 0.5341 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/0.3043, allocations: 28.75 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.3044, allocations: 17.42 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3044, allocations: 33.3 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3046, allocations: 82.03 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3046, allocations: 3.938 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3046, allocations: 0 / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3046, allocations: 1.375 kB / 0.5343 GB, free: 11.57 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.0004974/0.3051, allocations: 384.1 kB / 0.5346 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.3051, allocations: 13.56 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3052, allocations: 8.969 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3053, allocations: 201.3 kB / 0.5348 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3054, allocations: 5.75 kB / 0.5348 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3054, allocations: 9.312 kB / 0.5349 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.3055, allocations: 48.62 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3055, allocations: 0 / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3056, allocations: 1.375 kB / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3056, allocations: 0 / 0.5349 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.363e-05/0.3057, allocations: 25.72 kB / 0.5349 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3061, allocations: 293.6 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3063, allocations: 40.44 kB / 0.5352 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.3064, allocations: 25.17 kB / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3064, allocations: 0 / 0.5353 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3064, allocations: 31.94 kB / 0.5353 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3065, allocations: 0 / 0.5353 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006373/0.3071, allocations: 159.2 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3071, allocations: 52.78 kB / 0.5355 GB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3073, allocations: 179 kB / 0.5357 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3073, allocations: 25.7 kB / 0.5357 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.3074, allocations: 104.2 kB / 0.5358 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3074, allocations: 18.44 kB / 0.5358 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3075, allocations: 21.84 kB / 0.5358 GB, free: 10 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3076, allocations: 321.6 kB / 0.5361 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.3077, allocations: 18.98 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.3077, allocations: 24.34 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3079, allocations: 52.33 kB / 0.5362 GB, free: 9.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3079, allocations: 192 / 0.5362 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.3081, allocations: 95.44 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3081, allocations: 5.281 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3082, allocations: 0 / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3082, allocations: 1.062 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.3082, allocations: 13.66 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3083, allocations: 1.031 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.3084, allocations: 14.98 kB / 0.5364 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3084, allocations: 1.062 kB / 0.5364 GB, free: 9.555 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 9.391e-05/0.3085, allocations: 125.6 kB / 0.5365 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3085, allocations: 7.281 kB / 0.5365 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3088, allocations: 97.39 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3088, allocations: 1.125 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3088, allocations: 1.25 kB / 0.5366 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.3088, allocations: 3.938 kB / 0.5366 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.3093, allocations: 369.4 kB / 0.5369 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3093, allocations: 0 / 0.5369 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.3093, allocations: 10 kB / 0.5369 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3094, allocations: 0 / 0.5369 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3094, allocations: 9.297 kB / 0.537 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3094, allocations: 3.938 kB / 0.537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3094, allocations: 1.281 kB / 0.537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3097, allocations: 191.5 kB / 0.5371 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.3098, allocations: 82.08 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3098, allocations: 13.12 kB / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3099, allocations: 3.312 kB / 0.5372 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.3099, allocations: 6.328 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.3099, allocations: 1.125 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.31, allocations: 136.4 kB / 0.5374 GB, free: 8.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.087e-06/0.31, allocations: 0 / 0.5374 GB, free: 8.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.3103, allocations: 19.25 kB / 0.5374 GB, free: 8.59 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.0008808/0.3112, allocations: 401.9 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3114, allocations: 54.02 kB / 0.5378 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3114, allocations: 0 / 0.5378 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.3115, allocations: 25.14 kB / 0.5378 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3118, allocations: 17.73 kB / 0.5379 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.3123, allocations: 229.6 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.3126, allocations: 0.7015 MB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3127, allocations: 12.47 kB / 0.5388 GB, free: 7.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3127, allocations: 0 / 0.5388 GB, free: 7.43 MB / 398.1 MB Notification: Performance of Templates: time 0.003193/0.3159, allocations: 1.512 MB / 0.5403 GB, free: 6.645 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches