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.008806/0.008806, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.002176/0.002176, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.475/1.475, allocations: 230.6 MB / 259 MB, free: 8.02 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.001978/0.001978, allocations: 68.53 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004005/0.263, allocations: 2.023 MB / 435.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.2655, allocations: 1.29 MB / 436.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.2657, allocations: 7.938 kB / 436.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.2664, allocations: 157.8 kB / 436.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.2669, allocations: 171.3 kB / 436.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.2676, allocations: 213.8 kB / 437 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003694/0.268, allocations: 231.4 kB / 437.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.2681, allocations: 28.58 kB / 437.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2683, allocations: 103.5 kB / 437.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2684, allocations: 99.53 kB / 437.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.2685, allocations: 12 kB / 437.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.2687, allocations: 71.95 kB / 437.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.2688, allocations: 63.7 kB / 437.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.2689, allocations: 91.41 kB / 437.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.2693, allocations: 256.2 kB / 438 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2693, allocations: 0 / 438 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2693, allocations: 0 / 438 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2693, allocations: 0 / 438 MB, free: 2.168 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.0009018/0.2702, allocations: 498.5 kB / 438.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2703, allocations: 8.031 kB / 438.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.2703, allocations: 36.75 kB / 438.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.2707, allocations: 229 kB / 438.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.2708, allocations: 12.36 kB / 438.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.2708, allocations: 20.11 kB / 438.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.2714, allocations: 294.5 kB / 439 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2714, allocations: 8 kB / 439 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2714, allocations: 0 / 439 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.2714, allocations: 4 kB / 439 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2716, allocations: 63.89 kB / 439.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.2722, allocations: 357.4 kB / 439.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.2726, allocations: 164 kB / 439.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2727, allocations: 78.48 kB / 439.7 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.2727, allocations: 4 kB / 439.7 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.2729, allocations: 75.39 kB / 439.8 MB, free: 180 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.2729, allocations: 0 / 439.8 MB, free: 180 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005714/0.2735, allocations: 229.7 kB / 440 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.2736, allocations: 148.5 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.274, allocations: 281 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.274, allocations: 33.7 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2741, allocations: 120.6 kB / 440.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2741, allocations: 35.83 kB / 440.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.2742, allocations: 49.94 kB / 440.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2744, allocations: 334.8 kB / 441 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.2745, allocations: 36.45 kB / 441 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.2747, allocations: 175 kB / 441.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.275, allocations: 207.5 kB / 441.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.275, allocations: 4 kB / 441.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003987/0.2754, allocations: 217.6 kB / 441.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2754, allocations: 12.06 kB / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2754, allocations: 4 kB / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2754, allocations: 4 kB / 441.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.2756, allocations: 31.86 kB / 441.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2756, allocations: 8.25 kB / 441.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.2757, allocations: 27.81 kB / 441.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2757, allocations: 12 kB / 441.7 MB, free: 14.05 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.0001923/0.2759, allocations: 167.8 kB / 441.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2761, allocations: 129.4 kB / 442 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.2764, allocations: 119.3 kB / 442.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.2764, allocations: 4 kB / 442.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2764, allocations: 0 / 442.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2764, allocations: 11.92 kB / 442.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2767, allocations: 208.6 kB / 442.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2767, allocations: 4 kB / 442.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.2767, allocations: 7.984 kB / 442.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2767, allocations: 4 kB / 442.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2768, allocations: 8 kB / 442.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.2768, allocations: 7.938 kB / 442.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2768, allocations: 128 / 442.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.2772, allocations: 230.5 kB / 442.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.2773, allocations: 39.77 kB / 442.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.2773, allocations: 8.094 kB / 442.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.2774, allocations: 19.92 kB / 442.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.2774, allocations: 0 / 442.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.2775, allocations: 15.98 kB / 442.7 MB, free: 13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.2777, allocations: 204.5 kB / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2777, allocations: 0 / 442.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.278, allocations: 47.88 kB / 442.9 MB, free: 12.75 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.001618/0.2796, allocations: 432.4 kB / 443.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.2801, allocations: 129.6 kB / 443.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2801, allocations: 0 / 443.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.2801, allocations: 31.92 kB / 443.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.2807, allocations: 101.5 kB / 443.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008504/0.2815, allocations: 434.9 kB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.2819, allocations: 0.7518 MB / 444.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.282, allocations: 31.38 kB / 444.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.282, allocations: 4 kB / 444.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Templates: time 0.006625/0.2886, allocations: 3.306 MB / 448.1 MB, free: 7.656 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.5947166359983385]