Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108.6 kB / 21.18 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 189.4 kB / 24.47 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 55.91 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2964, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003328/0.2997, allocations: 1.765 MB / 425.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3007, allocations: 0.5453 MB / 426.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3008, allocations: 7.938 kB / 426.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.3009, allocations: 7.875 kB / 426.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.301, allocations: 15.86 kB / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.3014, allocations: 101.8 kB / 426.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.3016, allocations: 91.73 kB / 426.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3017, allocations: 17.31 kB / 426.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.3018, allocations: 47.78 kB / 426.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.3019, allocations: 47.77 kB / 426.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.3019, allocations: 8 kB / 426.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.3019, allocations: 4 kB / 426.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.302, allocations: 23.92 kB / 426.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.302, allocations: 55.61 kB / 426.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.3022, allocations: 108.7 kB / 426.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3022, allocations: 4 kB / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3022, allocations: 0 / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.3022, allocations: 0 / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005806/0.3028, allocations: 353.7 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3028, allocations: 8.031 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.3029, allocations: 16.84 kB / 427.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3032, allocations: 170.2 kB / 427.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.3032, allocations: 8.375 kB / 427.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3032, allocations: 12.38 kB / 427.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.3037, allocations: 262 kB / 427.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3037, allocations: 0 / 427.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3038, allocations: 4 kB / 427.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3038, allocations: 4 kB / 427.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3039, allocations: 47.91 kB / 427.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.3043, allocations: 293.5 kB / 427.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3045, allocations: 123.9 kB / 428 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3046, allocations: 74.61 kB / 428.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3047, allocations: 0 / 428.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3047, allocations: 42.5 kB / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.3047, allocations: 0 / 428.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00041/0.3051, allocations: 173.8 kB / 428.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3052, allocations: 122.9 kB / 428.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3054, allocations: 154.7 kB / 428.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3054, allocations: 29.7 kB / 428.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.3055, allocations: 92.12 kB / 428.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3055, allocations: 19.89 kB / 428.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.3055, allocations: 33.72 kB / 428.7 MB, free: 9.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3057, allocations: 330.8 kB / 429.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.764e-05/0.3058, allocations: 31.97 kB / 429.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3059, allocations: 130.6 kB / 429.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.3061, allocations: 170.3 kB / 429.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3061, allocations: 4 kB / 429.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003121/0.3065, allocations: 185.4 kB / 429.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3065, allocations: 4 kB / 429.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.3065, allocations: 4 kB / 429.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3065, allocations: 4 kB / 429.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.3066, allocations: 35.86 kB / 429.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3066, allocations: 4 kB / 429.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.3067, allocations: 27.81 kB / 429.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3068, allocations: 8.344 kB / 429.7 MB, free: 8.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001281/0.3069, allocations: 140.5 kB / 429.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.3071, allocations: 109.6 kB / 429.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3071, allocations: 24.7 kB / 429.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3071, allocations: 4.469 kB / 429.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3071, allocations: 0 / 429.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3071, allocations: 3.938 kB / 429.9 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.3074, allocations: 176.6 kB / 430.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3074, allocations: 0 / 430.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3075, allocations: 39.86 kB / 430.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3075, allocations: 0 / 430.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3075, allocations: 4 kB / 430.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3075, allocations: 0 / 430.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3075, allocations: 0 / 430.1 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3078, allocations: 256.2 kB / 430.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3079, allocations: 31.88 kB / 430.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.3079, allocations: 8 kB / 430.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.308, allocations: 12 kB / 430.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.308, allocations: 3.938 kB / 430.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.3081, allocations: 7.984 kB / 430.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.3081, allocations: 115.1 kB / 430.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3081, allocations: 0 / 430.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3084, allocations: 24 kB / 430.6 MB, free: 7.547 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001269/0.3086, allocations: 99.25 kB / 430.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3088, allocations: 107.7 kB / 430.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3088, allocations: 0 / 430.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.3089, allocations: 9.062 kB / 430.8 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.3093, allocations: 79.91 kB / 430.9 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.3099, allocations: 299.6 kB / 431.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3102, allocations: 0.72 MB / 431.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3103, allocations: 27.36 kB / 431.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3103, allocations: 0 / 431.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of Templates: time 0.003255/0.3135, allocations: 1.486 MB / 433.4 MB, free: 4.664 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.02829530602321]