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.0007563/0.0007563, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001828, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007431/0.0007431, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001755, allocations: 467.5 kB / 11.72 MB, free: 2.449 MB / 13.93 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/1.098, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.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.513e-06/1.513e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.03e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00225/0.00227, allocations: 1.583 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.002815, allocations: 499.3 kB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.002864, allocations: 3.938 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.002885, allocations: 7.922 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.002947, allocations: 8 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.003065, allocations: 35.83 kB / 247.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.127e-05/0.003146, allocations: 51.86 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.744e-05/0.003214, allocations: 15.86 kB / 247.2 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.0033, allocations: 35.97 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.003336, allocations: 19.92 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.003355, allocations: 4 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.003364, allocations: 7.938 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.003382, allocations: 11.92 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.003407, allocations: 12 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.003492, allocations: 27.91 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.003504, allocations: 0 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.003505, allocations: 0 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.00352, allocations: 4 kB / 247.3 MB, free: 11.32 MB / 250.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.0003782/0.003898, allocations: 276.5 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.003927, allocations: 8.031 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.003954, allocations: 4.938 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.00408, allocations: 129.7 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.004096, allocations: 4.375 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.004104, allocations: 8.312 kB / 247.7 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.004275, allocations: 120.5 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.004282, allocations: 192 / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004288, allocations: 4.375 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.004294, allocations: 7.938 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.00432, allocations: 11.98 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.773e-05/0.004378, allocations: 53.05 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.004471, allocations: 46.55 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.004489, allocations: 16.86 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.004507, allocations: 3.938 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.004526, allocations: 38.55 kB / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.004527, allocations: 0 / 248 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001023/0.00463, allocations: 57.69 kB / 248.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.004667, allocations: 59.36 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.004718, allocations: 114.7 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004728, allocations: 33.64 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.004746, allocations: 80.14 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.876e-06/0.004755, allocations: 4 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.004774, allocations: 13.72 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.004846, allocations: 326.8 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.004851, allocations: 3.938 kB / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.004855, allocations: 0 / 248.7 MB, free: 9.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.514e-05/0.00487, allocations: 12.86 kB / 248.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.004872, allocations: 0 / 248.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.573e-05/0.004908, allocations: 37.69 kB / 248.8 MB, free: 9.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.004918, allocations: 4 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004923, allocations: 4 kB / 248.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.004931, allocations: 4.094 kB / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-05/0.004957, allocations: 0 / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.004959, allocations: 4 kB / 248.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.004972, allocations: 7.875 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-06/0.004974, allocations: 0 / 248.8 MB, free: 9.684 MB / 250.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.107e-05/0.005025, allocations: 109.8 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.005061, allocations: 45.69 kB / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.005084, allocations: 12.42 kB / 249 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.005086, allocations: 4 kB / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005088, allocations: 0 / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00509, allocations: 4 kB / 249 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.374e-05/0.005134, allocations: 73.81 kB / 249 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005135, allocations: 0 / 249 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.436e-05/0.005169, allocations: 8 kB / 249 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.005177, allocations: 3.953 kB / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005178, allocations: 0 / 249 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.005186, allocations: 11.98 kB / 249.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.005187, allocations: 3.984 kB / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.005189, allocations: 3.938 kB / 249.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.858e-05/0.005228, allocations: 53.39 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.00524, allocations: 4 kB / 249.1 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.005269, allocations: 15.98 kB / 249.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.005271, allocations: 3.938 kB / 249.1 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.005278, allocations: 8 kB / 249.2 MB, free: 9.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.813e-05/0.005296, allocations: 12.84 kB / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005296, allocations: 0 / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.834e-05/0.005385, allocations: 8 kB / 249.2 MB, free: 9.25 MB / 250.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 6.757e-05/0.005452, allocations: 76.42 kB / 249.2 MB, free: 9.168 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.00551, allocations: 28.8 kB / 249.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.005513, allocations: 0 / 249.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.6e-07/0.005513, allocations: 0 / 249.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.005662, allocations: 37.19 kB / 249.3 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.005957, allocations: 142.3 kB / 249.5 MB, free: 8.938 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.005985, allocations: 59.34 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.212e-05/0.005997, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.006039, allocations: 55.38 kB / 249.6 MB, free: 8.805 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006039, allocations: 4.062 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of Templates: time 0.001977/0.008016, allocations: 0.7102 MB / 250.3 MB, free: 8.105 MB / 250.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 -emit_protected -ignoreHideResult -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.5730737512931228]