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.001302/0.001302, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001445/0.001445, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 8.008 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.002072/0.002072, allocations: 67.89 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2459, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003603/0.2495, allocations: 2.031 MB / 434.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2517, allocations: 1.285 MB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.2518, allocations: 3.938 kB / 435.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.2525, allocations: 163.5 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.2529, allocations: 163.3 kB / 436.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.2535, allocations: 218.8 kB / 436.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.2538, allocations: 231.4 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2539, allocations: 32.58 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.254, allocations: 91.62 kB / 436.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2542, allocations: 103.5 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.2542, allocations: 12 kB / 436.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.2544, allocations: 75.88 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.2545, allocations: 51.78 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2546, allocations: 99.39 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.2549, allocations: 260.1 kB / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2549, allocations: 0 / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2549, allocations: 0 / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2549, allocations: 0 / 437.2 MB, free: 1.965 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.0008234/0.2558, allocations: 494.5 kB / 437.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2558, allocations: 8.031 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.2559, allocations: 28.75 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2563, allocations: 237 kB / 438 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2563, allocations: 12.38 kB / 438 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.2563, allocations: 12.38 kB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.2569, allocations: 297.8 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2569, allocations: 0 / 438.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2569, allocations: 8 kB / 438.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.2569, allocations: 4 kB / 438.3 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2571, allocations: 71.88 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.2576, allocations: 361.3 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.2579, allocations: 160 kB / 438.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2581, allocations: 74.55 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2581, allocations: 7.984 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2583, allocations: 79.41 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.2583, allocations: 0 / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000502/0.2588, allocations: 229.3 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2589, allocations: 144.5 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.2592, allocations: 285 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2592, allocations: 29.7 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.2593, allocations: 116.6 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.2594, allocations: 35.84 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.2594, allocations: 49.94 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2596, allocations: 338.8 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.2597, allocations: 36.45 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2599, allocations: 178 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2601, allocations: 199.2 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2601, allocations: 0 / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003764/0.2605, allocations: 225.1 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2605, allocations: 8 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2605, allocations: 4.531 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2606, allocations: 11.98 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.2607, allocations: 19.94 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2607, allocations: 8.297 kB / 440.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2608, allocations: 23.83 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2608, allocations: 16 kB / 441 MB, free: 13.86 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.0001644/0.261, allocations: 175.7 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.2612, allocations: 133.4 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.2614, allocations: 115.4 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2614, allocations: 4 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2614, allocations: 0 / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2614, allocations: 0 / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.2616, allocations: 216.6 kB / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2616, allocations: 0 / 441.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.2617, allocations: 16.41 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2617, allocations: 0 / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2617, allocations: 7.984 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2617, allocations: 0 / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2617, allocations: 8 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.2621, allocations: 237.9 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.2622, allocations: 39.78 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.2622, allocations: 11.98 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.2623, allocations: 8 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2623, allocations: 3.984 kB / 441.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.2623, allocations: 12 kB / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.2626, allocations: 204.5 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2626, allocations: 0 / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.2629, allocations: 43.94 kB / 442.2 MB, free: 12.57 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.00156/0.2644, allocations: 428.3 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.2648, allocations: 139.7 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2648, allocations: 0 / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.943e-05/0.2648, allocations: 19.98 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.2653, allocations: 118.5 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.2661, allocations: 436.2 kB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2664, allocations: 0.7519 MB / 444 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.2665, allocations: 23.44 kB / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2665, allocations: 288 / 444.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005919/0.2724, allocations: 3.301 MB / 447.4 MB, free: 7.449 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/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_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: 7.775174913927913]