Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006214/0.006214, allocations: 109.2 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 220 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 259 MB, free: 8.012 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-beta.om/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(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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 379.8 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.352, allocations: 53.35 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004116/0.3561, allocations: 1.779 MB / 435 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3576, allocations: 0.6154 MB / 435.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.3577, allocations: 7.938 kB / 435.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.841e-05/0.3578, allocations: 7.875 kB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.358, allocations: 15.81 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.3585, allocations: 110.7 kB / 435.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3587, allocations: 95.69 kB / 435.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3589, allocations: 21.62 kB / 435.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.359, allocations: 59.77 kB / 435.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.014e-05/0.3591, allocations: 39.72 kB / 435.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3591, allocations: 8 kB / 435.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.3592, allocations: 16 kB / 435.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3593, allocations: 23.91 kB / 436 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.3593, allocations: 51.67 kB / 436 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.3596, allocations: 120.7 kB / 436.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3596, allocations: 0 / 436.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3596, allocations: 0 / 436.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3596, allocations: 0 / 436.1 MB, free: 3.969 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.000651/0.3603, allocations: 357.7 kB / 436.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3603, allocations: 8.031 kB / 436.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.3605, allocations: 24.84 kB / 436.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.3608, allocations: 170.2 kB / 436.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3608, allocations: 8.375 kB / 436.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3609, allocations: 12.38 kB / 436.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.3615, allocations: 261.9 kB / 437 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3615, allocations: 0 / 437 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3615, allocations: 8 kB / 437 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3615, allocations: 0 / 437 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.3616, allocations: 55.91 kB / 437 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.3621, allocations: 281.5 kB / 437.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3624, allocations: 127.9 kB / 437.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.3625, allocations: 70.61 kB / 437.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.3625, allocations: 12.12 kB / 437.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3626, allocations: 34.56 kB / 437.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.813e-06/0.3626, allocations: 4 kB / 437.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004692/0.3631, allocations: 173.4 kB / 437.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3632, allocations: 118.8 kB / 437.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.3634, allocations: 158.2 kB / 438 MB, free: 1.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3634, allocations: 25.7 kB / 438 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.3634, allocations: 96.09 kB / 438.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3635, allocations: 19.89 kB / 438.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3635, allocations: 37.83 kB / 438.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3637, allocations: 330.8 kB / 438.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.3638, allocations: 27.98 kB / 438.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3639, allocations: 134.6 kB / 438.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.3642, allocations: 166.7 kB / 438.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3642, allocations: 4 kB / 438.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003165/0.3645, allocations: 185.2 kB / 439 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3645, allocations: 4 kB / 439 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3645, allocations: 7.938 kB / 439 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3646, allocations: 8 kB / 439 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3647, allocations: 27.92 kB / 439 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.3647, allocations: 12.83 kB / 439 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.3648, allocations: 15.94 kB / 439.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3648, allocations: 8 kB / 439.1 MB, free: 0.6914 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.0001527/0.365, allocations: 142.6 kB / 439.2 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.3652, allocations: 125.5 kB / 439.3 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.3653, allocations: 20.7 kB / 439.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3653, allocations: 0 / 439.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3653, allocations: 0 / 439.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3653, allocations: 7.938 kB / 439.4 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3655, allocations: 168.6 kB / 439.5 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3655, allocations: 4 kB / 439.5 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3656, allocations: 27.92 kB / 439.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3656, allocations: 0 / 439.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3656, allocations: 8 kB / 439.6 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3656, allocations: 0 / 439.6 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3656, allocations: 4 kB / 439.6 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.366, allocations: 265 kB / 439.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.967e-05/0.3661, allocations: 27.83 kB / 439.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.3661, allocations: 4 kB / 439.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.631e-05/0.3662, allocations: 4 kB / 439.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.3662, allocations: 7.922 kB / 439.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3663, allocations: 8 kB / 439.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3664, allocations: 119.2 kB / 440 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3664, allocations: 0 / 440 MB, free: 15.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3667, allocations: 24 kB / 440 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.0001304/0.3668, allocations: 103.2 kB / 440.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.3671, allocations: 103.8 kB / 440.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3671, allocations: 1.062 kB / 440.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.3671, allocations: 7.984 kB / 440.2 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.0005019/0.3676, allocations: 94.53 kB / 440.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.3682, allocations: 287.6 kB / 440.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.3686, allocations: 0.724 MB / 441.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.3686, allocations: 23.44 kB / 441.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3686, allocations: 0 / 441.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Templates: time 0.003865/0.3725, allocations: 1.502 MB / 442.8 MB, free: 12.76 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.4520473999436945]