Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.0009323/0.0009323, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009399/0.0009399, allocations: 168.6 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9305/0.9305, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.676e-05, allocations: 2.312 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002239/0.002266, allocations: 1.58 MB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006516/0.002917, allocations: 490.5 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.002974, allocations: 4 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.002999, allocations: 3.938 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.003153, allocations: 23.84 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.003299, allocations: 27.91 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.05e-05/0.00338, allocations: 51.84 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.003452, allocations: 7.938 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.003526, allocations: 35.91 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.003561, allocations: 19.91 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.003579, allocations: 4 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.003588, allocations: 4 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003605, allocations: 11.98 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.003626, allocations: 19.94 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.003711, allocations: 35.83 kB / 275.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003714, allocations: 3.938 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003715, allocations: 0 / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.003719, allocations: 0 / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005402/0.004259, allocations: 276.8 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.004291, allocations: 11.98 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.004318, allocations: 4.938 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004451, allocations: 125.7 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004465, allocations: 8.375 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.004473, allocations: 4.375 kB / 276.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.00465, allocations: 120.5 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.004655, allocations: 4.188 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004662, allocations: 4.359 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004668, allocations: 7.938 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.004691, allocations: 12 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.256e-05/0.004754, allocations: 64.98 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.533e-05/0.004839, allocations: 46.48 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.004856, allocations: 16.86 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.004869, allocations: 0 / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004887, allocations: 30.56 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.81e-07/0.004887, allocations: 4 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000103/0.00499, allocations: 57.69 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.005027, allocations: 55.34 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.00508, allocations: 118.7 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.005089, allocations: 25.7 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.005112, allocations: 84.12 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/0.005122, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.005142, allocations: 17.7 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.005211, allocations: 318.8 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-06/0.005217, allocations: 0 / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-06/0.005222, allocations: 0 / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.822e-05/0.00524, allocations: 16.91 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005242, allocations: 3.938 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.463e-05/0.005286, allocations: 37.64 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005298, allocations: 4 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005302, allocations: 0 / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005312, allocations: 4 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.00534, allocations: 3.984 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-06/0.005343, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.005357, allocations: 7.938 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-06/0.00536, allocations: 4.031 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.228e-05/0.005412, allocations: 113.8 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.005451, allocations: 45.69 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.005473, allocations: 8.438 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005475, allocations: 0 / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.005478, allocations: 4 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.005481, allocations: 0 / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.401e-05/0.005525, allocations: 77.81 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005526, allocations: 0 / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.005563, allocations: 8.25 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.005567, allocations: 11.98 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.005572, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005573, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.005574, allocations: 0 / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.783e-05/0.005611, allocations: 53.08 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.005621, allocations: 7.953 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.005633, allocations: 3.984 kB / 277.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.005661, allocations: 12 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-06/0.005664, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.005668, allocations: 7.984 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.422e-05/0.005682, allocations: 12.86 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005682, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.647e-05/0.005768, allocations: 4 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 7.926e-05/0.005848, allocations: 80.36 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.282e-05/0.00591, allocations: 24.84 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.005913, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.005913, allocations: 0 / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.006062, allocations: 38.47 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.006252, allocations: 130.5 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.006284, allocations: 63.34 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.177e-05/0.006295, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.006338, allocations: 51.38 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.006338, allocations: 0 / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002038/0.008377, allocations: 0.71 MB / 278.7 MB, free: 11.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.461993287783116]