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.001393/0.001393, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001511/0.001511, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.466/1.466, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.116e-05, allocations: 3.562 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.00312/0.003141, allocations: 1.951 MB / 327 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.005569, allocations: 1.283 MB / 328.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.005706, allocations: 11.34 kB / 328.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.00602, allocations: 72.88 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.006423, allocations: 144.9 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.007268, allocations: 275.5 kB / 328.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003356/0.007604, allocations: 232.2 kB / 329 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.007731, allocations: 32.11 kB / 329 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.007935, allocations: 129.7 kB / 329.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.008106, allocations: 94.62 kB / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.008144, allocations: 12.69 kB / 329.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.008333, allocations: 73.73 kB / 329.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.008444, allocations: 70.11 kB / 329.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.658e-05/0.00854, allocations: 53.19 kB / 329.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.009009, allocations: 313 kB / 329.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.009012, allocations: 0 / 329.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009013, allocations: 0 / 329.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.009019, allocations: 1 kB / 329.7 MB, free: 13.69 MB / 302.1 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.0009384/0.009957, allocations: 0.5116 MB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.009994, allocations: 16.64 kB / 330.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.829e-05/0.01008, allocations: 36.11 kB / 330.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.01051, allocations: 254.4 kB / 330.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.01054, allocations: 10.66 kB / 330.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.01056, allocations: 13.16 kB / 330.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.01125, allocations: 348.4 kB / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01126, allocations: 1.281 kB / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.01128, allocations: 9.516 kB / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.01129, allocations: 6.438 kB / 330.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.01148, allocations: 77.36 kB / 331 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.01203, allocations: 336.3 kB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.01244, allocations: 189.2 kB / 331.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.01261, allocations: 92.72 kB / 331.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.01264, allocations: 7.344 kB / 331.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.01282, allocations: 78.06 kB / 331.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.01282, allocations: 1.188 kB / 331.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006392/0.01346, allocations: 259.8 kB / 331.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.01359, allocations: 156.2 kB / 332.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.01404, allocations: 356.2 kB / 332.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.01407, allocations: 32.42 kB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01419, allocations: 127.2 kB / 332.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.01422, allocations: 28.7 kB / 332.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.01429, allocations: 39.86 kB / 332.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.01448, allocations: 338.5 kB / 333 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.01457, allocations: 31.98 kB / 333 MB, free: 11.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.01476, allocations: 147.5 kB / 333.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.01495, allocations: 105.8 kB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01496, allocations: 1.438 kB / 333.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003025/0.01526, allocations: 164.1 kB / 333.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01527, allocations: 6 kB / 333.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01528, allocations: 5.312 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.0153, allocations: 6.188 kB / 333.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01541, allocations: 20.55 kB / 333.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01541, allocations: 2.5 kB / 333.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.0155, allocations: 7.781 kB / 333.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01551, allocations: 4.719 kB / 333.5 MB, free: 10.68 MB / 302.1 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.0001805/0.01569, allocations: 162.4 kB / 333.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.01592, allocations: 141.8 kB / 333.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.01623, allocations: 131.8 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01624, allocations: 7.594 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01625, allocations: 1.5 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.01625, allocations: 3.984 kB / 333.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.01649, allocations: 194 kB / 334.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01649, allocations: 1.219 kB / 334.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.01664, allocations: 35.58 kB / 334.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.01665, allocations: 5 kB / 334.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.01667, allocations: 7.281 kB / 334.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01667, allocations: 1.188 kB / 334.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.01667, allocations: 5.141 kB / 334.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.01716, allocations: 263.8 kB / 334.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.01728, allocations: 53.42 kB / 334.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.01732, allocations: 6.469 kB / 334.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.01741, allocations: 3.75 kB / 334.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.01748, allocations: 11.8 kB / 334.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.01751, allocations: 10.52 kB / 334.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.01782, allocations: 259.1 kB / 334.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01782, allocations: 0 / 334.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.01816, allocations: 45.33 kB / 334.8 MB, free: 9.754 MB / 302.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: 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.001774/0.01993, allocations: 460.1 kB / 335.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.02025, allocations: 117.9 kB / 335.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.02026, allocations: 0 / 335.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.02035, allocations: 34.14 kB / 335.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.02091, allocations: 115.9 kB / 335.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.02175, allocations: 471.2 kB / 336 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.02193, allocations: 167.8 kB / 336.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.304e-05/0.02203, allocations: 35.69 kB / 336.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.0221, allocations: 32.06 kB / 336.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.0221, allocations: 0 / 336.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of Templates: time 0.008716/0.03081, allocations: 3.632 MB / 339.8 MB, free: 6.004 MB / 302.1 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.428311225026846]