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.0009719/0.0009719, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001095/0.001095, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 1.081/1.081, allocations: 177 MB / 204.8 MB, free: 5.59 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.313e-06/1.313e-06, allocations: 0 / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.644e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.00238/0.002396, allocations: 2.033 MB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003994, allocations: 1.308 MB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.004108, allocations: 7.938 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.004401, allocations: 75.48 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.004728, allocations: 143.3 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.005269, allocations: 274.9 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.005501, allocations: 227.4 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.005602, allocations: 36.5 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.005736, allocations: 123.6 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.005871, allocations: 95.75 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.005896, allocations: 12 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.006045, allocations: 75.94 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.006121, allocations: 71.69 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.006186, allocations: 47.84 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.006518, allocations: 239.1 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.006521, allocations: 3.938 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006522, allocations: 4 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.006528, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.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.0006083/0.007136, allocations: 0.6138 MB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.00717, allocations: 11.98 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.007234, allocations: 40.75 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.007497, allocations: 252.5 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.007519, allocations: 12.38 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.007536, allocations: 16.38 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.007914, allocations: 284.9 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.007923, allocations: 8.188 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.007937, allocations: 8.359 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.007947, allocations: 7.938 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.008022, allocations: 39.91 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.008425, allocations: 390.9 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.008628, allocations: 165.5 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.008706, allocations: 71.03 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.008728, allocations: 11.94 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.777e-05/0.008826, allocations: 76.97 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.008827, allocations: 0 / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00032/0.009147, allocations: 201.3 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.009217, allocations: 119.2 kB / 279.9 MB, free: 10.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.009452, allocations: 342.3 kB / 280.3 MB, free: 9.801 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.009468, allocations: 29.7 kB / 280.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.009551, allocations: 183.3 kB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.009576, allocations: 28.06 kB / 280.5 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.009621, allocations: 51.31 kB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.009742, allocations: 0.5118 MB / 281.1 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.009773, allocations: 19.98 kB / 281.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.009839, allocations: 111.4 kB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.757e-05/0.009927, allocations: 94.05 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009929, allocations: 0 / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000138/0.01007, allocations: 137.4 kB / 281.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01008, allocations: 10.81 kB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01009, allocations: 0 / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.0101, allocations: 4 kB / 281.4 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.01017, allocations: 23.92 kB / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01018, allocations: 0 / 281.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.01022, allocations: 7.938 kB / 281.5 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.01023, allocations: 4 kB / 281.5 MB, free: 8.504 MB / 266.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.0001029/0.01033, allocations: 177 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.01045, allocations: 137.3 kB / 281.8 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01061, allocations: 107.5 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01061, allocations: 4 kB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01061, allocations: 3.984 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01062, allocations: 0 / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01076, allocations: 204.5 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01076, allocations: 320 / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.01083, allocations: 35.92 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.01084, allocations: 3.938 kB / 282.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01085, allocations: 15.98 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01085, allocations: 0 / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01085, allocations: 7.984 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.01106, allocations: 232.8 kB / 282.4 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.01111, allocations: 47.73 kB / 282.4 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.01114, allocations: 11.98 kB / 282.4 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.01118, allocations: 4 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.01122, allocations: 7.984 kB / 282.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.01125, allocations: 12 kB / 282.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.01137, allocations: 235 kB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01137, allocations: 4 kB / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01155, allocations: 43.94 kB / 282.7 MB, free: 7.148 MB / 266.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.0008373/0.01239, allocations: 412.2 kB / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01255, allocations: 91.44 kB / 283.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01255, allocations: 0 / 283.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.01259, allocations: 31.61 kB / 283.3 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01289, allocations: 113.5 kB / 283.4 MB, free: 6.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.01335, allocations: 431.4 kB / 283.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.01341, allocations: 104.3 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.01346, allocations: 25.94 kB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.01351, allocations: 32.48 kB / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01351, allocations: 0 / 284 MB, free: 5.977 MB / 266.7 MB Notification: Performance of Templates: time 0.005638/0.01914, allocations: 3.793 MB / 287.8 MB, free: 2.219 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] 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","",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.943041968625039]