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.00192/0.00192, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002533/0.002533, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001642/0.001642, allocations: 43.94 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2365, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002719/0.2392, allocations: 1.5 MB / 433.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008535/0.2401, allocations: 462.8 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.2401, allocations: 7.938 kB / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.2401, allocations: 0 / 434.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2403, allocations: 19.86 kB / 434.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.2404, allocations: 31.91 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2406, allocations: 55.78 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.2406, allocations: 11.78 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.2407, allocations: 23.92 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.523e-05/0.2408, allocations: 23.86 kB / 434.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2408, allocations: 4 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2408, allocations: 4 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.2408, allocations: 11.98 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.2408, allocations: 23.86 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.2409, allocations: 39.88 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2409, allocations: 0 / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2409, allocations: 0 / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2409, allocations: 0 / 434.5 MB, free: 4.5 MB / 334.1 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.000543/0.2415, allocations: 301.1 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2415, allocations: 12.03 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.2416, allocations: 4.891 kB / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2418, allocations: 130.4 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2418, allocations: 12.31 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2418, allocations: 4.359 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2422, allocations: 147.5 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2422, allocations: 3.938 kB / 435.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2422, allocations: 3.984 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2422, allocations: 0 / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.2423, allocations: 27.98 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.2424, allocations: 105.3 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.2426, allocations: 58.56 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.325e-05/0.2427, allocations: 28.84 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2427, allocations: 4 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2427, allocations: 34.56 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2427, allocations: 0 / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002598/0.243, allocations: 89.56 kB / 435.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.243, allocations: 59.39 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.2431, allocations: 105.9 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2432, allocations: 29.69 kB / 435.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.2432, allocations: 92.08 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.2432, allocations: 0 / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.2432, allocations: 17.72 kB / 435.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2434, allocations: 326.8 kB / 436.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.2434, allocations: 4.25 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-05/0.2435, allocations: 49.14 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.746e-05/0.2435, allocations: 57.09 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2435, allocations: 0 / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001174/0.2436, allocations: 81.52 kB / 436.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2437, allocations: 4 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2437, allocations: 3.938 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2437, allocations: 4 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.2437, allocations: 11.94 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2437, allocations: 3.984 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.2438, allocations: 4 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2438, allocations: 0 / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.778e-05/0.2439, allocations: 122 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.244, allocations: 73.58 kB / 436.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.244, allocations: 16.3 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.244, allocations: 4 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.244, allocations: 3.938 kB / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.244, allocations: 0 / 436.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.061e-05/0.2441, allocations: 105.3 kB / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2441, allocations: 0 / 436.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.2442, allocations: 11.98 kB / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2442, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2442, allocations: 0 / 436.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2442, allocations: 7.938 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2442, allocations: 3.938 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2444, allocations: 97.06 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.2444, allocations: 0 / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2444, allocations: 16.05 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.2445, allocations: 19.92 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.2445, allocations: 0 / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2445, allocations: 8 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.2445, allocations: 83.28 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2445, allocations: 0 / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001999/0.2447, allocations: 11.98 kB / 436.9 MB, free: 1.871 MB / 334.1 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 9.733e-05/0.2448, allocations: 99.25 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.245, allocations: 39.92 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.245, allocations: 0 / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.245, allocations: 384 / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2453, allocations: 38.83 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.2456, allocations: 167.2 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.2456, allocations: 67.34 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.2457, allocations: 11.44 kB / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2457, allocations: 0 / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Templates: time 0.002213/0.2479, allocations: 0.7944 MB / 438.1 MB, free: 0.6094 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.766600759699941]