Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0016/0.0016, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002104/0.002104, allocations: 218.7 kB / 22.99 MB, free: 5.574 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.629/1.629, allocations: 230.2 MB / 256.2 MB, free: 8.516 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3483, allocations: 53.31 MB / 429.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004513/0.3528, allocations: 2.043 MB / 431.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3554, allocations: 1.281 MB / 433.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.3556, allocations: 3.938 kB / 433.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.3565, allocations: 155.5 kB / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.357, allocations: 163.3 kB / 433.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.3578, allocations: 210.6 kB / 433.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.3581, allocations: 223.4 kB / 433.8 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.3582, allocations: 32.28 kB / 433.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3584, allocations: 99.56 kB / 434 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3585, allocations: 107.5 kB / 434.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3586, allocations: 12 kB / 434.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3587, allocations: 59.97 kB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.3588, allocations: 59.77 kB / 434.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3589, allocations: 91.41 kB / 434.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.3594, allocations: 264.4 kB / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3594, allocations: 0 / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3594, allocations: 0 / 434.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3594, allocations: 0 / 434.6 MB, free: 2.895 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.0008774/0.3602, allocations: 0.5621 MB / 435.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3603, allocations: 8.031 kB / 435.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3604, allocations: 28.78 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.3608, allocations: 286.9 kB / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.3608, allocations: 16.36 kB / 435.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3608, allocations: 12.38 kB / 435.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000589/0.3614, allocations: 313.9 kB / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3614, allocations: 0 / 435.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3614, allocations: 8 kB / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3614, allocations: 0 / 435.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3616, allocations: 59.91 kB / 435.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.3622, allocations: 398.3 kB / 436.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3625, allocations: 155.8 kB / 436.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.3627, allocations: 86.67 kB / 436.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.3627, allocations: 16.05 kB / 436.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3629, allocations: 67.39 kB / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.3629, allocations: 0 / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005208/0.3634, allocations: 229.3 kB / 436.8 MB, free: 472 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.3635, allocations: 144.5 kB / 436.9 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.3639, allocations: 289 kB / 437.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3639, allocations: 29.64 kB / 437.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.364, allocations: 120.6 kB / 437.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.3641, allocations: 31.83 kB / 437.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.3641, allocations: 49.94 kB / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3643, allocations: 338.8 kB / 437.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.3644, allocations: 36.45 kB / 437.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3646, allocations: 178.1 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3648, allocations: 199.2 kB / 438.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3648, allocations: 0 / 438.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003783/0.3652, allocations: 229.5 kB / 438.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3652, allocations: 8 kB / 438.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3652, allocations: 4 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.3653, allocations: 7.984 kB / 438.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3654, allocations: 19.94 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3654, allocations: 11.92 kB / 438.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3655, allocations: 15.94 kB / 438.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3655, allocations: 16 kB / 438.5 MB, free: 14.57 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.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,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.0001706/0.3657, allocations: 172.3 kB / 438.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.3659, allocations: 130.1 kB / 438.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.3662, allocations: 119.3 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3662, allocations: 4.094 kB / 438.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3662, allocations: 3.938 kB / 438.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3662, allocations: 3.938 kB / 438.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.3664, allocations: 253.4 kB / 439.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3664, allocations: 0 / 439.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.3665, allocations: 8 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3665, allocations: 4 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3665, allocations: 11.98 kB / 439.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3665, allocations: 3.938 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3665, allocations: 0 / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3669, allocations: 226.1 kB / 439.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.367, allocations: 120.9 kB / 439.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.367, allocations: 8 kB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.3671, allocations: 8 kB / 439.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.3671, allocations: 7.984 kB / 439.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3671, allocations: 4 kB / 439.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.3674, allocations: 204.5 kB / 439.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 439.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.3677, allocations: 43.98 kB / 439.8 MB, free: 13.16 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,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.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.001549/0.3692, allocations: 429.1 kB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3695, allocations: 135.7 kB / 440.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3695, allocations: 1.062 kB / 440.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3696, allocations: 23.92 kB / 440.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.3701, allocations: 126.8 kB / 440.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.3709, allocations: 397.1 kB / 440.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3713, allocations: 0.7558 MB / 441.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.652e-05/0.3714, allocations: 26.77 kB / 441.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.3714, allocations: 35.36 kB / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3714, allocations: 0 / 441.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Templates: time 0.008387/0.3798, allocations: 3.109 MB / 444.8 MB, free: 8.242 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.138040889054537]