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.001473/0.001473, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001709/0.001709, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.002748/0.002748, allocations: 79.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.304, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003965/0.3079, allocations: 2.032 MB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3102, allocations: 1.273 MB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3104, allocations: 7.938 kB / 435.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000621/0.311, allocations: 155.4 kB / 435.5 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.3114, allocations: 167.3 kB / 435.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000621/0.312, allocations: 210.3 kB / 435.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.3124, allocations: 227.4 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.3125, allocations: 36.28 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3126, allocations: 95.56 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3128, allocations: 95.53 kB / 436.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.3128, allocations: 16 kB / 436.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.313, allocations: 71.89 kB / 436.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.3131, allocations: 51.83 kB / 436.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3132, allocations: 91.41 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.3135, allocations: 264.3 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3135, allocations: 3.984 kB / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3135, allocations: 0 / 436.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.3136, allocations: 0 / 436.8 MB, free: 2.582 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.0009321/0.3145, allocations: 0.5582 MB / 437.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3145, allocations: 8.031 kB / 437.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.3146, allocations: 32.75 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.315, allocations: 286.9 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.315, allocations: 16.36 kB / 437.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.315, allocations: 12.12 kB / 437.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.3156, allocations: 313.8 kB / 438 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3156, allocations: 0 / 438 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3156, allocations: 8 kB / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3156, allocations: 4 kB / 438 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3158, allocations: 67.88 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3163, allocations: 386.3 kB / 438.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3167, allocations: 167.9 kB / 438.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.3168, allocations: 78.55 kB / 438.7 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3168, allocations: 4 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.317, allocations: 83.31 kB / 438.8 MB, free: 380 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.317, allocations: 0 / 438.8 MB, free: 380 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004962/0.3175, allocations: 225.7 kB / 439 MB, free: 148 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.3176, allocations: 148.4 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3179, allocations: 281 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.318, allocations: 25.7 kB / 439.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3181, allocations: 128.6 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3181, allocations: 31.84 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.3182, allocations: 49.94 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3183, allocations: 338.8 kB / 440 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.3184, allocations: 32.45 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3186, allocations: 182 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3189, allocations: 195.3 kB / 440.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3189, allocations: 4 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003593/0.3192, allocations: 217.6 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3192, allocations: 11.94 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3192, allocations: 8.031 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3193, allocations: 4 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3194, allocations: 27.92 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3194, allocations: 8 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3195, allocations: 27.81 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3195, allocations: 8 kB / 440.7 MB, free: 14.26 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.0001633/0.3197, allocations: 164.3 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.3199, allocations: 133.4 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.3201, allocations: 115.3 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3201, allocations: 4 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3201, allocations: 0 / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3201, allocations: 15.86 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.3204, allocations: 241.5 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3204, allocations: 4 kB / 441.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3204, allocations: 11.94 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3204, allocations: 0 / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3204, allocations: 4 kB / 441.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3204, allocations: 8 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3204, allocations: 3.984 kB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.3208, allocations: 224.9 kB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.3209, allocations: 128.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.321, allocations: 11.98 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.321, allocations: 4 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.3211, allocations: 11.94 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3211, allocations: 11.98 kB / 441.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002102/0.3213, allocations: 200.5 kB / 442 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3213, allocations: 4 kB / 442 MB, free: 12.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3216, allocations: 43.94 kB / 442 MB, free: 12.84 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.001502/0.3231, allocations: 431.2 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.3234, allocations: 131.7 kB / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3234, allocations: 0 / 442.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.3235, allocations: 27.98 kB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.324, allocations: 101.8 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.3248, allocations: 446.6 kB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3251, allocations: 0.7558 MB / 443.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.3252, allocations: 23.44 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3252, allocations: 4 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005913/0.3311, allocations: 3.3 MB / 447.2 MB, free: 7.738 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 -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: 7.663270456716418]