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.0009722/0.0009722, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0009212/0.0009212, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9642/0.9642, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.173e-06/1.173e-06, allocations: 0 / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.489e-05, allocations: 6.25 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002009/0.002023, allocations: 1.828 MB / 270.4 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.002716, allocations: 0.5412 MB / 270.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.00279, allocations: 7.938 kB / 270.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.062e-05/0.002831, allocations: 7.875 kB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.002947, allocations: 23.8 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.003196, allocations: 87.64 kB / 271 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.003308, allocations: 95.69 kB / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.003385, allocations: 17.97 kB / 271.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.003477, allocations: 59.81 kB / 271.2 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.003526, allocations: 35.88 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.003544, allocations: 8 kB / 271.2 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.003556, allocations: 8 kB / 271.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.003596, allocations: 23.91 kB / 271.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.003626, allocations: 27.92 kB / 271.3 MB, free: 3.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.00373, allocations: 83.58 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.003734, allocations: 8 kB / 271.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003734, allocations: 0 / 271.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.003737, allocations: 4 kB / 271.4 MB, free: 3.09 MB / 250.7 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.0003025/0.00404, allocations: 324.3 kB / 271.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.004067, allocations: 8.031 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.004099, allocations: 16.92 kB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.004257, allocations: 161.4 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.004276, allocations: 12.38 kB / 271.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.004287, allocations: 8.375 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.004529, allocations: 233.7 kB / 272.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.004539, allocations: 192 / 272.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.004548, allocations: 8.375 kB / 272.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004555, allocations: 7.938 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.00459, allocations: 19.92 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.004762, allocations: 170 kB / 272.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.00487, allocations: 99.81 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.004912, allocations: 46.56 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.004928, allocations: 4 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.004949, allocations: 38.56 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.00495, allocations: 0 / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001453/0.005095, allocations: 109.5 kB / 272.6 MB, free: 1.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.00515, allocations: 126.9 kB / 272.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.00522, allocations: 138.6 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.005232, allocations: 37.64 kB / 272.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.005258, allocations: 84.12 kB / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.005274, allocations: 15.92 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.005301, allocations: 29.61 kB / 273 MB, free: 1.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.005367, allocations: 318.8 kB / 273.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-06/0.005377, allocations: 8 kB / 273.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.005406, allocations: 40.27 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.005449, allocations: 52.34 kB / 273.5 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005451, allocations: 0 / 273.5 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.632e-05/0.005517, allocations: 73.55 kB / 273.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.005527, allocations: 4 kB / 273.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005531, allocations: 160 / 273.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.005542, allocations: 11.94 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.796e-05/0.00559, allocations: 4 kB / 273.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.005594, allocations: 7.938 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.005617, allocations: 3.938 kB / 273.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.005624, allocations: 8 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 6.414e-05/0.005688, allocations: 124.6 kB / 273.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.005759, allocations: 81.89 kB / 273.8 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.005787, allocations: 24.77 kB / 273.8 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.00579, allocations: 7.938 kB / 273.8 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005792, allocations: 4 kB / 273.8 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005794, allocations: 0 / 273.8 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.309e-05/0.005877, allocations: 77.88 kB / 273.9 MB, free: 324 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00588, allocations: 3.984 kB / 273.9 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.005935, allocations: 31.92 kB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.005938, allocations: 4 kB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.005944, allocations: 0 / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005946, allocations: 4 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005946, allocations: 0 / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.006007, allocations: 141.2 kB / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.612e-05/0.006043, allocations: 31.83 kB / 274.1 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.006057, allocations: 4.031 kB / 274.1 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.006096, allocations: 15.94 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.006116, allocations: 3.938 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.006125, allocations: 4 kB / 274.1 MB, free: 56 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.528e-05/0.00615, allocations: 39.25 kB / 274.2 MB, free: 16 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006151, allocations: 0 / 274.2 MB, free: 16 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.006279, allocations: 16 kB / 274.2 MB, free: 0 / 250.7 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 5.795e-05/0.006337, allocations: 76.55 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.006414, allocations: 60.66 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.006416, allocations: 0 / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.006427, allocations: 12.84 kB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.006631, allocations: 70.41 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.00703, allocations: 253.4 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.007071, allocations: 75.33 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.007099, allocations: 9.359 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.00716, allocations: 71.36 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00716, allocations: 0 / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Templates: time 0.002524/0.009684, allocations: 1.278 MB / 276.1 MB, free: 14.06 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.549624062143266]