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.001947/0.001947, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002398/0.002398, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.677/1.677, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.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 0.001895/0.001895, allocations: 63.89 kB / 378.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 53.36 MB / 432.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.004411/0.3492, allocations: 2.011 MB / 434.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.3521, allocations: 1.375 MB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.3523, allocations: 7.938 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.3527, allocations: 71.59 kB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.3531, allocations: 143.4 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.3541, allocations: 270.7 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.3545, allocations: 227.4 kB / 436.2 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3546, allocations: 28.58 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.3548, allocations: 107.5 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.355, allocations: 111.6 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.355, allocations: 15.94 kB / 436.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.3553, allocations: 79.89 kB / 436.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3554, allocations: 67.75 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3555, allocations: 103.3 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.356, allocations: 300.4 kB / 437 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.356, allocations: 0 / 437 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.356, allocations: 8 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.356, allocations: 0 / 437 MB, free: 2.195 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009494/0.357, allocations: 0.5139 MB / 437.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.357, allocations: 12.03 kB / 437.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.3571, allocations: 28.75 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.3575, allocations: 266.4 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.3576, allocations: 12.38 kB / 437.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.3576, allocations: 12.38 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.3583, allocations: 318.7 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3583, allocations: 3.984 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3583, allocations: 4 kB / 438.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3583, allocations: 11.92 kB / 438.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3585, allocations: 63.97 kB / 438.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.3593, allocations: 397.3 kB / 438.6 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.3596, allocations: 188 kB / 438.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3598, allocations: 86.53 kB / 438.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.3599, allocations: 4 kB / 438.9 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.36, allocations: 79.31 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.36, allocations: 0 / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006617/0.3607, allocations: 265.5 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.3608, allocations: 162.2 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.3612, allocations: 356.5 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.3613, allocations: 37.69 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3614, allocations: 124.6 kB / 439.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.3614, allocations: 35.78 kB / 439.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.3615, allocations: 61.81 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.3617, allocations: 346.8 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3619, allocations: 40.45 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3621, allocations: 186.9 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.3625, allocations: 215.1 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3625, allocations: 0 / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004091/0.3629, allocations: 237.1 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3629, allocations: 8 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3629, allocations: 4 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3629, allocations: 4 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3631, allocations: 40.45 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.3631, allocations: 15.92 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3632, allocations: 23.83 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3632, allocations: 16 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0002205/0.3635, allocations: 176.1 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.3637, allocations: 137.4 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.364, allocations: 123.4 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.364, allocations: 8 kB / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.364, allocations: 0 / 441.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.364, allocations: 7.938 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003119/0.3643, allocations: 240.5 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3643, allocations: 7.984 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3645, allocations: 27.97 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3645, allocations: 4 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3645, allocations: 7.984 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.3645, allocations: 4 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3645, allocations: 0 / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.365, allocations: 257.8 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3651, allocations: 51.72 kB / 442.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.3652, allocations: 8 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.3653, allocations: 0 / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3653, allocations: 11.98 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3654, allocations: 8 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003367/0.3657, allocations: 263 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 96 / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.3661, allocations: 55.86 kB / 442.5 MB, free: 12.26 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: 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 (22): * Single equations (assignments): 20 * 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.001683/0.3677, allocations: 439.6 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.3681, allocations: 140.2 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3681, allocations: 0 / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.194e-05/0.3682, allocations: 31.92 kB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.3688, allocations: 119.6 kB / 443.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.3697, allocations: 470.5 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3702, allocations: 0.7675 MB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.3703, allocations: 42.52 kB / 444.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.3704, allocations: 35.42 kB / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3704, allocations: 0 / 444.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Templates: time 0.008921/0.3793, allocations: 3.66 MB / 448.1 MB, free: 6.672 MB / 350.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: 5.31259326543659]