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.001812/0.001812, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.002202/0.002202, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001968/0.001968, allocations: 59.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2506, allocations: 53.42 MB / 432.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002851/0.2534, allocations: 1.508 MB / 433.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.2543, allocations: 494.7 kB / 434.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.2544, allocations: 4 kB / 434.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2544, allocations: 7.922 kB / 434.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2546, allocations: 15.8 kB / 434.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.2547, allocations: 39.89 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2549, allocations: 51.86 kB / 434.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.255, allocations: 7.984 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.255, allocations: 23.94 kB / 434.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.2551, allocations: 23.89 kB / 434.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2551, allocations: 4 kB / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2551, allocations: 4 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.2551, allocations: 11.94 kB / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.2552, allocations: 23.86 kB / 434.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2553, allocations: 47.61 kB / 434.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2553, allocations: 3.984 kB / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2553, allocations: 0 / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2553, allocations: 7.938 kB / 434.7 MB, free: 4.469 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.0005669/0.2559, allocations: 295.7 kB / 435 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2559, allocations: 8.031 kB / 435 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2559, allocations: 12.89 kB / 435 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.2561, allocations: 130.4 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2562, allocations: 4.375 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.2562, allocations: 4.375 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.2566, allocations: 143.5 kB / 435.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.2566, allocations: 4 kB / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2566, allocations: 0 / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2566, allocations: 0 / 435.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.2567, allocations: 27.98 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2568, allocations: 136.7 kB / 435.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.257, allocations: 50.61 kB / 435.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.2571, allocations: 32.84 kB / 435.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2571, allocations: 7.938 kB / 435.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.2571, allocations: 42.44 kB / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2571, allocations: 0 / 435.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002535/0.2574, allocations: 81.62 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.2574, allocations: 59.41 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2575, allocations: 109.8 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2575, allocations: 29.7 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.2576, allocations: 88.14 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2576, allocations: 7.984 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.2576, allocations: 17.72 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2578, allocations: 314.8 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/0.2578, allocations: 11.98 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.2579, allocations: 57.08 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.2579, allocations: 45.09 kB / 436.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2579, allocations: 3.938 kB / 436.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001185/0.258, allocations: 85.5 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2581, allocations: 7.938 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2581, allocations: 4 kB / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2581, allocations: 0 / 436.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.2581, allocations: 8 kB / 436.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2581, allocations: 3.938 kB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.2582, allocations: 8 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.2582, allocations: 4.438 kB / 436.5 MB, free: 2.441 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 9.134e-05/0.2583, allocations: 125.8 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2584, allocations: 69.56 kB / 436.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2585, allocations: 12.38 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2585, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2585, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2585, allocations: 0 / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2586, allocations: 140.7 kB / 436.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2586, allocations: 3.938 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.2586, allocations: 8 kB / 436.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.2586, allocations: 3.938 kB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.2586, allocations: 0 / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2586, allocations: 0 / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2586, allocations: 11.92 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.2588, allocations: 93.08 kB / 437 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.2588, allocations: 15.91 kB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2588, allocations: 0 / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.2589, allocations: 15.98 kB / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.2589, allocations: 0 / 437 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2589, allocations: 4 kB / 437 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.259, allocations: 87.27 kB / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.259, allocations: 0 / 437.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.2592, allocations: 12 kB / 437.1 MB, free: 1.77 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 0.0001037/0.2593, allocations: 103.2 kB / 437.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.2594, allocations: 39.92 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2594, allocations: 0 / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2594, allocations: 0 / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2597, allocations: 35.95 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.2601, allocations: 167 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2604, allocations: 0.6918 MB / 438.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2604, allocations: 15.36 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2604, allocations: 3.938 kB / 438.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of Templates: time 0.002356/0.2628, allocations: 0.7761 MB / 438.9 MB, free: 15.89 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.879654626827687]