Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 210.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 55.84 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2794, allocations: 53.36 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003227/0.2826, allocations: 1.747 MB / 433.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2838, allocations: 0.5687 MB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2839, allocations: 7.938 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.428e-05/0.2839, allocations: 15.8 kB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2841, allocations: 15.88 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.2845, allocations: 111.6 kB / 434.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.2847, allocations: 87.77 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2848, allocations: 21.56 kB / 434.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.2849, allocations: 55.78 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.285, allocations: 35.77 kB / 434.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.285, allocations: 8 kB / 434.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.2851, allocations: 19.98 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.2851, allocations: 19.92 kB / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.2852, allocations: 39.73 kB / 434.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2854, allocations: 121.7 kB / 434.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2854, allocations: 0 / 434.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2854, allocations: 0 / 434.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2854, allocations: 0 / 434.5 MB, free: 3.863 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.0005527/0.2859, allocations: 357.7 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.286, allocations: 12.03 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2861, allocations: 24.83 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.2864, allocations: 162.3 kB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2864, allocations: 8.375 kB / 435 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2864, allocations: 12.31 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2869, allocations: 271.6 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2869, allocations: 3.938 kB / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.287, allocations: 0 / 435.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.287, allocations: 4 kB / 435.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2871, allocations: 47.97 kB / 435.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.2874, allocations: 238.1 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.2877, allocations: 139.8 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2878, allocations: 70.61 kB / 435.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.2878, allocations: 8 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2879, allocations: 34.5 kB / 435.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.2879, allocations: 0 / 435.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004196/0.2883, allocations: 165.5 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2884, allocations: 122.8 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2885, allocations: 158.1 kB / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2886, allocations: 25.7 kB / 436.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.2886, allocations: 104.2 kB / 436.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.2887, allocations: 24.03 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.2887, allocations: 33.72 kB / 436.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2889, allocations: 326.8 kB / 436.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.2889, allocations: 31.91 kB / 436.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2891, allocations: 141 kB / 436.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.2893, allocations: 166.4 kB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2893, allocations: 4 kB / 437.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003084/0.2896, allocations: 181.6 kB / 437.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2897, allocations: 8.094 kB / 437.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.2897, allocations: 4 kB / 437.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.2897, allocations: 4 kB / 437.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.2898, allocations: 31.92 kB / 437.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2898, allocations: 7.984 kB / 437.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.2899, allocations: 15.95 kB / 437.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2899, allocations: 15.88 kB / 437.4 MB, free: 0.6328 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.0001327/0.2901, allocations: 141.7 kB / 437.5 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.2903, allocations: 113.9 kB / 437.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.2903, allocations: 28.7 kB / 437.6 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2903, allocations: 4 kB / 437.6 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2903, allocations: 3.938 kB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2903, allocations: 4 kB / 437.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2905, allocations: 129.2 kB / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2905, allocations: 0 / 437.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2906, allocations: 27.98 kB / 437.8 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2906, allocations: 4 kB / 437.8 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.2906, allocations: 4 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2906, allocations: 0 / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2906, allocations: 7.984 kB / 437.8 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.291, allocations: 261 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.2911, allocations: 27.83 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2911, allocations: 8 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.2912, allocations: 7.984 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2912, allocations: 0 / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.2912, allocations: 8 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.2914, allocations: 115.2 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2914, allocations: 0 / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.2916, allocations: 20 kB / 438.2 MB, free: 15.66 MB / 350.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.0001766/0.2918, allocations: 111.1 kB / 438.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.2921, allocations: 106.4 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2921, allocations: 0 / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.2921, allocations: 9.047 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.2926, allocations: 75.91 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.2931, allocations: 277.9 kB / 438.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2932, allocations: 102.3 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.2933, allocations: 9.797 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.2933, allocations: 19.44 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2933, allocations: 0 / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005159/0.2985, allocations: 1.398 MB / 440.3 MB, free: 13.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.537112072110176]