Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001714/0.001714, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002079/0.002079, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.624/1.624, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 75.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3601, allocations: 53.31 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004489/0.3646, allocations: 2.038 MB / 434.1 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.3673, allocations: 1.278 MB / 435.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3675, allocations: 4 kB / 435.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.3683, allocations: 155.4 kB / 435.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005317/0.3688, allocations: 159.4 kB / 435.7 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.3696, allocations: 206.1 kB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.37, allocations: 231.4 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3701, allocations: 32.3 kB / 436.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3703, allocations: 99.61 kB / 436.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3705, allocations: 99.53 kB / 436.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.3706, allocations: 19.94 kB / 436.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3707, allocations: 59.95 kB / 436.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.3708, allocations: 55.78 kB / 436.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.371, allocations: 91.39 kB / 436.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.3715, allocations: 260.8 kB / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3715, allocations: 0 / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3715, allocations: 0 / 436.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3715, allocations: 0 / 436.8 MB, free: 2.648 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.001163/0.3726, allocations: 0.566 MB / 437.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.3727, allocations: 8.031 kB / 437.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.804e-05/0.3728, allocations: 32.75 kB / 437.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.3733, allocations: 290.8 kB / 437.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.3733, allocations: 12.36 kB / 437.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3733, allocations: 16.12 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.374, allocations: 306.4 kB / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.374, allocations: 0 / 438 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.374, allocations: 4 kB / 438 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.374, allocations: 4 kB / 438 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3742, allocations: 59.91 kB / 438.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.3748, allocations: 398.2 kB / 438.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.3752, allocations: 160 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3753, allocations: 78.55 kB / 438.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3753, allocations: 7.984 kB / 438.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.3755, allocations: 79.33 kB / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3755, allocations: 0 / 438.8 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005423/0.3761, allocations: 229.4 kB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3762, allocations: 144.5 kB / 439.2 MB, free: 36 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.3766, allocations: 284.9 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3766, allocations: 29.7 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3768, allocations: 116.6 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3768, allocations: 31.84 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.3769, allocations: 49.94 kB / 439.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3771, allocations: 338.8 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.3772, allocations: 44.44 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.3774, allocations: 170 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3777, allocations: 203.2 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3777, allocations: 4 kB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003916/0.3781, allocations: 225.4 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3781, allocations: 11.12 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3781, allocations: 4 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.3782, allocations: 4 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.3782, allocations: 27.86 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3783, allocations: 8 kB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3784, allocations: 27.77 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3784, allocations: 8 kB / 440.7 MB, free: 14.32 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.0001936/0.3786, allocations: 168.5 kB / 440.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.3788, allocations: 133.4 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.3791, allocations: 115.8 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3791, allocations: 4 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3791, allocations: 3.984 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3791, allocations: 7.938 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3794, allocations: 237.5 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3794, allocations: 4 kB / 441.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.3794, allocations: 15.94 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3794, allocations: 4.469 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3794, allocations: 3.984 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3794, allocations: 7.984 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3794, allocations: 0 / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3798, allocations: 234.4 kB / 441.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3799, allocations: 124.9 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.38, allocations: 8 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.3801, allocations: 4 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3801, allocations: 7.984 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.3801, allocations: 8 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.3804, allocations: 204.5 kB / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3804, allocations: 0 / 442 MB, free: 12.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.3807, allocations: 47.92 kB / 442 MB, free: 12.9 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.00164/0.3823, allocations: 428.3 kB / 442.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.3827, allocations: 131.8 kB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3827, allocations: 1.062 kB / 442.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.3827, allocations: 24 kB / 442.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.3833, allocations: 115 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.3841, allocations: 411.4 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.3846, allocations: 0.7558 MB / 443.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.3847, allocations: 30.5 kB / 443.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3848, allocations: 23.44 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3848, allocations: 288 / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Templates: time 0.007905/0.3927, allocations: 3.132 MB / 447.1 MB, free: 7.996 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.182451945263892]