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.0008667/0.0008667, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001069/0.001069, allocations: 166.2 kB / 24.91 MB, free: 8.758 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.8815/0.8815, allocations: 177 MB / 205.2 MB, free: 5.445 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.112e-06/1.112e-06, allocations: 0 / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051e-05/1.162e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.0017/0.001712, allocations: 1.54 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.002282, allocations: 494.5 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.002334, allocations: 4 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.002356, allocations: 3.938 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.002471, allocations: 11.88 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.00263, allocations: 35.83 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.002703, allocations: 55.8 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.218e-05/0.002765, allocations: 11.97 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.002829, allocations: 27.92 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.002862, allocations: 19.97 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.00288, allocations: 7.938 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-06/0.002888, allocations: 4 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.002905, allocations: 7.984 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.002924, allocations: 19.92 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.003, allocations: 35.89 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003002, allocations: 0 / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003002, allocations: 4 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.455e-06/0.003005, allocations: 0 / 275.6 MB, free: 14.94 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.0002813/0.003286, allocations: 268.8 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.003313, allocations: 15.92 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.003335, allocations: 4.938 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.00344, allocations: 121.7 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.003454, allocations: 4.375 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.003463, allocations: 8.359 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.003628, allocations: 128.4 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.003633, allocations: 192 / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.00364, allocations: 8.375 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003644, allocations: 3.938 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.003668, allocations: 15.92 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.284e-05/0.00372, allocations: 65 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.003796, allocations: 34.56 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.003816, allocations: 20.86 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.003829, allocations: 3.984 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.003845, allocations: 34.56 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.003846, allocations: 0 / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.474e-05/0.00394, allocations: 57.62 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.003975, allocations: 55.41 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.004028, allocations: 110.7 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.004038, allocations: 29.7 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.004054, allocations: 84.12 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.004063, allocations: 4 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.00408, allocations: 13.72 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.004146, allocations: 326.8 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.00415, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.004155, allocations: 4.25 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.419e-05/0.004169, allocations: 4.859 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.004172, allocations: 4 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.071e-05/0.004202, allocations: 41.62 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.004212, allocations: 8 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.004215, allocations: 0 / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.004223, allocations: 4.094 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.004244, allocations: 0 / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004246, allocations: 4 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.004257, allocations: 3.938 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-06/0.00426, allocations: 0 / 277.1 MB, free: 13.32 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 4.847e-05/0.004308, allocations: 113.8 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.00435, allocations: 49.62 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.004369, allocations: 16.36 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.004373, allocations: 4 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.004375, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.004379, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.183e-05/0.004421, allocations: 73.83 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004422, allocations: 0 / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.004446, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.004448, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.004453, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004453, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004454, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.091e-05/0.004485, allocations: 57.06 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.004493, allocations: 7.953 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.004503, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.00453, allocations: 23.91 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.004532, allocations: 0 / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.004535, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/0.004549, allocations: 16.84 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004549, allocations: 0 / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001163/0.004665, allocations: 4 kB / 277.5 MB, free: 12.88 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 6.841e-05/0.004734, allocations: 76.42 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.565e-05/0.004799, allocations: 28.92 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.004802, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.004802, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.004947, allocations: 37.84 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001579/0.005105, allocations: 122.5 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.463e-05/0.00513, allocations: 63.34 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.104e-05/0.005141, allocations: 0 / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.005179, allocations: 55.36 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00518, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.00176/0.006939, allocations: 0.7008 MB / 278.6 MB, free: 11.76 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 -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.481849208008498]