Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.092/1.092, allocations: 177.1 MB / 205 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.682e-05, allocations: 5.828 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002456/0.002483, allocations: 1.545 MB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000676/0.003159, allocations: 482.7 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.00323, allocations: 3.938 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.003262, allocations: 4 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.00343, allocations: 15.86 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.003598, allocations: 35.83 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.245e-05/0.003691, allocations: 51.8 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003793, allocations: 7.984 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.918e-05/0.003872, allocations: 27.92 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.003915, allocations: 23.95 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.003935, allocations: 4 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.003947, allocations: 8 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.003967, allocations: 7.938 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.003997, allocations: 15.98 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.004101, allocations: 39.77 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004104, allocations: 4 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004105, allocations: 0 / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.004111, allocations: 4 kB / 275.2 MB, free: 15.14 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.0004468/0.004558, allocations: 392.5 kB / 275.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.004601, allocations: 8.031 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.004639, allocations: 12.89 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.004803, allocations: 128.5 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.004823, allocations: 4.375 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.004836, allocations: 384 / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.005113, allocations: 150.1 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.005126, allocations: 4.125 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005139, allocations: 384 / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.005149, allocations: 7.938 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.903e-05/0.005188, allocations: 15.98 kB / 275.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.005302, allocations: 112.6 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.00544, allocations: 51.11 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.005493, allocations: 31.66 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.005518, allocations: 0 / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.005545, allocations: 37.33 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005546, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001978/0.005744, allocations: 73.62 kB / 276.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.005804, allocations: 63.34 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.005908, allocations: 165.9 kB / 276.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.00592, allocations: 25.7 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.005968, allocations: 134.9 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.00598, allocations: 0 / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.006005, allocations: 15.38 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.006149, allocations: 0.4923 MB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.006159, allocations: 4.188 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.006167, allocations: 8 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.542e-05/0.006192, allocations: 11.69 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006195, allocations: 4 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.949e-05/0.006254, allocations: 41.66 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.006271, allocations: 4 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006276, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.006298, allocations: 0 / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.006347, allocations: 7.984 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.006354, allocations: 3.938 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.006372, allocations: 0 / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.006375, allocations: 8.031 kB / 277.2 MB, free: 12.93 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 8.341e-05/0.006459, allocations: 156.6 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.006519, allocations: 57.69 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.006556, allocations: 8.438 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006557, allocations: 0 / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.006564, allocations: 3.938 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.006568, allocations: 7.938 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.058e-05/0.006639, allocations: 124.5 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00664, allocations: 0 / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.006672, allocations: 7.984 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006674, allocations: 4 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.006683, allocations: 4 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006684, allocations: 0 / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006685, allocations: 0 / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.00677, allocations: 96.31 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.006781, allocations: 7.953 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.006798, allocations: 7.984 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.006831, allocations: 8 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-06/0.006834, allocations: 128 / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.00684, allocations: 15.98 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.006883, allocations: 127.1 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006883, allocations: 0 / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001229/0.007006, allocations: 12 kB / 277.9 MB, free: 12.21 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.577e-05/0.007082, allocations: 95.25 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.007183, allocations: 31.61 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007184, allocations: 0 / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.007185, allocations: 0 / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.007405, allocations: 33.31 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.007627, allocations: 132.2 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.007661, allocations: 63.34 kB / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.007672, allocations: 0 / 278.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.007701, allocations: 16.48 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007702, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002793/0.01049, allocations: 0.6668 MB / 278.9 MB, free: 11.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.1026593139395118]