Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, 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.001982/0.001982, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, 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.2086/0.2086, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2968, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002616/0.2994, allocations: 1.606 MB / 0.5332 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.301, allocations: 1.16 MB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.301, allocations: 1.156 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3012, allocations: 32.62 kB / 0.5344 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.3015, allocations: 81.12 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.3018, allocations: 114 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.302, allocations: 67.33 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.3021, allocations: 10.86 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.3021, allocations: 34.86 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3023, allocations: 30.84 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3023, allocations: 4.125 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3024, allocations: 102.7 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.3025, allocations: 12.06 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.3025, allocations: 23.98 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3028, allocations: 139.9 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3028, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3028, allocations: 0 / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3028, allocations: 0 / 0.535 GB, free: 11.03 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.0004565/0.3032, allocations: 399.8 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.3033, allocations: 13.56 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3033, allocations: 8.969 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3035, allocations: 194.3 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3035, allocations: 5.688 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3036, allocations: 3.125 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3037, allocations: 67.89 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3037, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3037, allocations: 5.375 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3038, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.3039, allocations: 25.67 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3042, allocations: 284.2 kB / 0.536 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3044, allocations: 49.75 kB / 0.536 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.3045, allocations: 19.81 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3045, allocations: 3.984 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3045, allocations: 39.88 kB / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3046, allocations: 0 / 0.5361 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.3051, allocations: 142.5 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3052, allocations: 85.98 kB / 0.5363 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3053, allocations: 148.1 kB / 0.5364 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3053, allocations: 31.08 kB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.3054, allocations: 86.8 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3054, allocations: 26.36 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3055, allocations: 18.16 kB / 0.5366 GB, free: 9.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.3056, allocations: 325.4 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3057, allocations: 24.05 kB / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.3057, allocations: 31.92 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3059, allocations: 55.08 kB / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3059, allocations: 0 / 0.537 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.3061, allocations: 87.97 kB / 0.5371 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.3061, allocations: 5.312 kB / 0.5371 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3062, allocations: 4.031 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3062, allocations: 1.188 kB / 0.5371 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.3062, allocations: 12.8 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3062, allocations: 1.062 kB / 0.5371 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3063, allocations: 7.25 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3063, allocations: 5.062 kB / 0.5371 GB, free: 8.961 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 7.731e-05/0.3064, allocations: 118.5 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.3064, allocations: 4.469 kB / 0.5372 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3067, allocations: 103.8 kB / 0.5373 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3067, allocations: 3.984 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3067, allocations: 1.125 kB / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3067, allocations: 0 / 0.5373 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.3071, allocations: 359.5 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3072, allocations: 0 / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.3072, allocations: 10.28 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3072, allocations: 7.938 kB / 0.5377 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.3072, allocations: 5.031 kB / 0.5377 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3073, allocations: 9.016 kB / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3073, allocations: 0 / 0.5377 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.3075, allocations: 182.5 kB / 0.5379 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.3075, allocations: 83.34 kB / 0.538 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3076, allocations: 5.156 kB / 0.538 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3077, allocations: 11.44 kB / 0.538 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3077, allocations: 6.266 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3077, allocations: 1.125 kB / 0.538 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.3078, allocations: 112.6 kB / 0.5381 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3078, allocations: 0 / 0.5381 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3081, allocations: 43.67 kB / 0.5381 GB, free: 7.996 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.001049/0.3091, allocations: 495 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.3094, allocations: 55.16 kB / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3094, allocations: 0 / 0.5387 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3095, allocations: 29.06 kB / 0.5387 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3098, allocations: 21.34 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3102, allocations: 202.1 kB / 0.5389 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.3104, allocations: 0.6945 MB / 0.5396 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.3105, allocations: 23.39 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3105, allocations: 0 / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.003746/0.3142, allocations: 1.958 MB / 0.5415 GB, free: 5.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches