Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.0008568/0.0008568, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005058/0.005058, allocations: 155.4 kB / 24.7 MB, free: 8.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9039/0.9039, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.021e-05, allocations: 2.984 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002566/0.002596, allocations: 1.958 MB / 327.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.00417, allocations: 1.278 MB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.004334, allocations: 11.88 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.004657, allocations: 79.47 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.004983, allocations: 135.4 kB / 329.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.005552, allocations: 277.7 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.005785, allocations: 227.3 kB / 329.7 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005908, allocations: 32.52 kB / 329.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.006056, allocations: 135.7 kB / 329.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.006194, allocations: 91.75 kB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.006218, allocations: 16 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.006354, allocations: 71.88 kB / 330.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.006428, allocations: 71.75 kB / 330.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.00649, allocations: 55.78 kB / 330.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.006837, allocations: 303 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.006842, allocations: 4 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.006845, allocations: 0 / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.006853, allocations: 0 / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.00079/0.007643, allocations: 0.5178 MB / 331 MB, free: 10.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.00768, allocations: 15.97 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.007739, allocations: 36.75 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.008047, allocations: 249.7 kB / 331.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.008066, allocations: 12.36 kB / 331.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.008085, allocations: 16.38 kB / 331.3 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.00852, allocations: 341.3 kB / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.00853, allocations: 192 / 331.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.008545, allocations: 8.375 kB / 331.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.008552, allocations: 3.938 kB / 331.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.008674, allocations: 79.89 kB / 331.8 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.009075, allocations: 338 kB / 332.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.009323, allocations: 195.9 kB / 332.3 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.523e-05/0.009418, allocations: 82.53 kB / 332.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.009445, allocations: 7.938 kB / 332.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.009573, allocations: 83.31 kB / 332.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.009574, allocations: 0 / 332.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003809/0.009955, allocations: 269.2 kB / 332.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.01003, allocations: 145 kB / 332.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.01028, allocations: 356.2 kB / 333.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.0103, allocations: 29.7 kB / 333.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.01037, allocations: 136.6 kB / 333.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.01039, allocations: 23.84 kB / 333.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.01043, allocations: 41.7 kB / 333.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.01052, allocations: 330.8 kB / 333.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.01058, allocations: 39.92 kB / 333.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.373e-05/0.01067, allocations: 145.2 kB / 333.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.01078, allocations: 109 kB / 334 MB, free: 6.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01079, allocations: 0 / 334 MB, free: 6.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001747/0.01096, allocations: 161.5 kB / 334.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01097, allocations: 4 kB / 334.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01098, allocations: 12.22 kB / 334.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01099, allocations: 0 / 334.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.01107, allocations: 23.98 kB / 334.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01108, allocations: 7.922 kB / 334.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.01112, allocations: 4 kB / 334.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.01113, allocations: 7.984 kB / 334.2 MB, free: 6.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$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 (16): * Single equations (assignments): 16 * 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.0001115/0.01124, allocations: 157.8 kB / 334.4 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.01138, allocations: 145.3 kB / 334.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.01157, allocations: 139.4 kB / 334.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01157, allocations: 3.984 kB / 334.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01157, allocations: 4 kB / 334.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01158, allocations: 0 / 334.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.01171, allocations: 193.1 kB / 334.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01171, allocations: 0 / 334.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.0118, allocations: 27.98 kB / 334.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.0118, allocations: 3.938 kB / 334.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01181, allocations: 12.45 kB / 334.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01182, allocations: 7.938 kB / 334.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01182, allocations: 0 / 334.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01205, allocations: 254.4 kB / 335.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.01211, allocations: 51.7 kB / 335.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01214, allocations: 8 kB / 335.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.01218, allocations: 11.98 kB / 335.2 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.01223, allocations: 7.984 kB / 335.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01224, allocations: 8 kB / 335.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.01241, allocations: 259 kB / 335.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01241, allocations: 0 / 335.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.0126, allocations: 43.95 kB / 335.6 MB, free: 5.18 MB / 298.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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007379/0.01334, allocations: 466.7 kB / 336 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.01354, allocations: 123.8 kB / 336.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01354, allocations: 0 / 336.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.01359, allocations: 23.98 kB / 336.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01392, allocations: 117.2 kB / 336.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.01447, allocations: 0.5074 MB / 336.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01457, allocations: 161.7 kB / 336.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.01462, allocations: 32.48 kB / 337 MB, free: 3.848 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01462, allocations: 0 / 337 MB, free: 3.848 MB / 298.7 MB Notification: Performance of Templates: time 0.00454/0.01916, allocations: 3.641 MB / 340.6 MB, free: 208 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.74006675183773]