Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 215.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.984 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 55.91 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3285, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004701/0.3332, allocations: 2.034 MB / 433.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.3361, allocations: 1.286 MB / 434.9 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3363, allocations: 7.938 kB / 434.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008316/0.3371, allocations: 151.4 kB / 435.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.3377, allocations: 175.3 kB / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.3385, allocations: 211.1 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.3389, allocations: 231.3 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3391, allocations: 32.56 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.3393, allocations: 99.62 kB / 435.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3395, allocations: 103.5 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.3395, allocations: 20 kB / 435.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3397, allocations: 63.97 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3398, allocations: 63.69 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.34, allocations: 83.42 kB / 436.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.3405, allocations: 260.2 kB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.411e-05/0.3405, allocations: 4 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.122e-06/0.3405, allocations: 4 kB / 436.4 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3406, allocations: 0 / 436.4 MB, free: 2.117 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.001282/0.3418, allocations: 490.5 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3419, allocations: 16.03 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.342, allocations: 28.75 kB / 436.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.3424, allocations: 233 kB / 437.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3424, allocations: 12.38 kB / 437.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.3425, allocations: 24.11 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.3431, allocations: 292.1 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3431, allocations: 4 kB / 437.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3431, allocations: 4 kB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3431, allocations: 4 kB / 437.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3433, allocations: 63.89 kB / 437.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.3439, allocations: 357.4 kB / 437.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.3443, allocations: 167.8 kB / 438.1 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.3444, allocations: 82.73 kB / 438.2 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3445, allocations: 4 kB / 438.2 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.3447, allocations: 71.39 kB / 438.2 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.3447, allocations: 0 / 438.2 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.000598/0.3453, allocations: 225.6 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.3454, allocations: 148.5 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.3458, allocations: 281 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.3458, allocations: 37.7 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.346, allocations: 124.6 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.346, allocations: 27.83 kB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.672e-05/0.3461, allocations: 53.94 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.3463, allocations: 334.8 kB / 439.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.025e-05/0.3464, allocations: 40.45 kB / 439.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3466, allocations: 170.1 kB / 439.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.3469, allocations: 207.2 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3469, allocations: 0 / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003955/0.3473, allocations: 217.6 kB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3473, allocations: 12.03 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3474, allocations: 4.312 kB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.3474, allocations: 11.94 kB / 440.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3475, allocations: 27.92 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.3475, allocations: 11.94 kB / 440.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3476, allocations: 23.81 kB / 440.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3477, allocations: 12 kB / 440.2 MB, free: 14 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.0002229/0.3479, allocations: 167.9 kB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.3481, allocations: 125.4 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.3484, allocations: 115.3 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3484, allocations: 0 / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.3484, allocations: 4 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.3484, allocations: 7.922 kB / 440.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3487, allocations: 216.6 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3487, allocations: 0 / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.3487, allocations: 7.984 kB / 440.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3487, allocations: 4 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3487, allocations: 8 kB / 440.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3487, allocations: 4 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3487, allocations: 3.938 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3491, allocations: 226.5 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.3492, allocations: 39.77 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.3493, allocations: 8 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.3493, allocations: 20.06 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.3494, allocations: 7.938 kB / 441.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3494, allocations: 11.98 kB / 441.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.3497, allocations: 204.5 kB / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3497, allocations: 0 / 441.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.3501, allocations: 47.88 kB / 441.4 MB, free: 12.71 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.001785/0.3519, allocations: 424.5 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.3523, allocations: 137.8 kB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3523, allocations: 0 / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.3524, allocations: 28.98 kB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.3529, allocations: 138.3 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.3538, allocations: 397.2 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.3542, allocations: 0.7519 MB / 443.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.3543, allocations: 30.28 kB / 443.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.3544, allocations: 27.44 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3544, allocations: 0 / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Templates: time 0.008402/0.3628, allocations: 3.159 MB / 446.4 MB, free: 7.766 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.071454426040873]