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.0009393/0.0009393, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009806/0.0009806, allocations: 166.1 kB / 24.82 MB, free: 9.258 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 1.011/1.011, allocations: 177 MB / 205.1 MB, free: 5.48 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.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.474e-05, allocations: 9.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002769/0.002793, allocations: 1.537 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.003567, allocations: 486.6 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.00363, allocations: 0 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.003659, allocations: 3.938 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.003804, allocations: 19.86 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.003963, allocations: 35.83 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.004056, allocations: 51.8 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.004136, allocations: 7.984 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.14e-05/0.004228, allocations: 31.91 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.004268, allocations: 19.97 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004288, allocations: 8 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.004299, allocations: 4 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004318, allocations: 7.938 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.004344, allocations: 19.92 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.004444, allocations: 35.89 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004446, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004447, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.00445, allocations: 0 / 275.6 MB, free: 14.96 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.000409/0.004859, allocations: 396.5 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.004896, allocations: 15.98 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.004927, allocations: 8.891 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.005059, allocations: 128.5 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.005076, allocations: 4.375 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.005085, allocations: 4.375 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.005305, allocations: 142 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005312, allocations: 192 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.005319, allocations: 384 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.005327, allocations: 3.938 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.005362, allocations: 11.98 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.822e-05/0.00546, allocations: 101.3 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.005562, allocations: 55.03 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.005591, allocations: 19.67 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.005609, allocations: 4 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.005632, allocations: 37.39 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.005633, allocations: 0 / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001404/0.005773, allocations: 73.77 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.005813, allocations: 55.41 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.005893, allocations: 169.8 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005903, allocations: 25.7 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.005945, allocations: 134.9 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.005954, allocations: 0 / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.005981, allocations: 23.36 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.006105, allocations: 496.1 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.00611, allocations: 4 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-06/0.006117, allocations: 3.984 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.006136, allocations: 11.69 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006138, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.311e-05/0.006191, allocations: 45.59 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.006201, allocations: 4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.006205, allocations: 4 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006216, allocations: 0 / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.006245, allocations: 0 / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.006251, allocations: 8.094 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.006267, allocations: 3.938 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-06/0.00627, allocations: 0 / 277.5 MB, free: 12.8 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 7.692e-05/0.006346, allocations: 156.6 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.006409, allocations: 53.69 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.006438, allocations: 16.38 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.006441, allocations: 3.984 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006443, allocations: 3.938 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006446, allocations: 7.938 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.955e-05/0.006516, allocations: 109.1 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006517, allocations: 4 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.006553, allocations: 4 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.006555, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.00656, allocations: 0 / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006562, allocations: 4 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006563, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.482e-05/0.006608, allocations: 68.38 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.006617, allocations: 0 / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.006633, allocations: 8 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.006677, allocations: 16.11 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-06/0.006681, allocations: 4 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.006684, allocations: 3.938 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.006726, allocations: 127.2 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006726, allocations: 0 / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.006928, allocations: 8 kB / 278.1 MB, free: 12.15 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 8.072e-05/0.007008, allocations: 99.25 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.588e-05/0.007074, allocations: 15.69 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007076, allocations: 4 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.007077, allocations: 4.062 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.00732, allocations: 38.39 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.007528, allocations: 132.2 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.007562, allocations: 59.34 kB / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.007575, allocations: 0 / 278.5 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.00763, allocations: 78.2 kB / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007631, allocations: 0 / 278.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002372/0.01, allocations: 0.7048 MB / 279.2 MB, free: 10.98 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.6495214919559658]