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.001909/0.001909, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002318/0.002318, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.477/1.477, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001984/0.001984, allocations: 67.91 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2515, allocations: 53.41 MB / 432.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.00292/0.2544, allocations: 1.492 MB / 433.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.2553, allocations: 462.8 kB / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.2554, allocations: 0 / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.2554, allocations: 7.922 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.2556, allocations: 15.92 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.2558, allocations: 27.92 kB / 434.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2559, allocations: 59.77 kB / 434.4 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.256, allocations: 15.78 kB / 434.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.2561, allocations: 15.94 kB / 434.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.298e-05/0.2561, allocations: 31.84 kB / 434.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.2562, allocations: 4 kB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2562, allocations: 4 kB / 434.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2562, allocations: 11.98 kB / 434.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2562, allocations: 19.86 kB / 434.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2563, allocations: 39.89 kB / 434.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2564, allocations: 0 / 434.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2564, allocations: 0 / 434.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.2564, allocations: 0 / 434.6 MB, free: 4.309 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.0006044/0.257, allocations: 309 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.257, allocations: 11.98 kB / 434.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.2571, allocations: 8.891 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.2573, allocations: 138.3 kB / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.2573, allocations: 384 / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.2573, allocations: 8.375 kB / 435 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.2577, allocations: 147.5 kB / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2577, allocations: 0 / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2577, allocations: 0 / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2578, allocations: 7.984 kB / 435.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.2578, allocations: 27.92 kB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.258, allocations: 109.3 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2582, allocations: 54.56 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.2582, allocations: 28.84 kB / 435.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.2583, allocations: 4 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2583, allocations: 30.56 kB / 435.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2583, allocations: 0 / 435.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002599/0.2586, allocations: 93.55 kB / 435.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.2586, allocations: 63.34 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.2587, allocations: 105.8 kB / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2587, allocations: 29.7 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.2588, allocations: 88.14 kB / 435.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.2588, allocations: 0 / 435.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2588, allocations: 21.72 kB / 435.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.259, allocations: 318.8 kB / 436.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.259, allocations: 4 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.259, allocations: 49.14 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.238e-05/0.2591, allocations: 57.09 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2591, allocations: 0 / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001208/0.2592, allocations: 77.52 kB / 436.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2592, allocations: 4 kB / 436.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2592, allocations: 7.938 kB / 436.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2593, allocations: 3.938 kB / 436.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.2593, allocations: 11.98 kB / 436.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2593, allocations: 4.188 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.2594, allocations: 8 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2594, allocations: 4 kB / 436.4 MB, free: 2.305 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.498e-05/0.2595, allocations: 117.8 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.2596, allocations: 65.58 kB / 436.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.2596, allocations: 20.61 kB / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.2596, allocations: 0 / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2596, allocations: 0 / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2596, allocations: 7.938 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.086e-05/0.2597, allocations: 105.3 kB / 436.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2597, allocations: 4 kB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.2598, allocations: 11.94 kB / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2598, allocations: 0 / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2598, allocations: 0 / 436.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.2598, allocations: 4.406 kB / 436.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.2598, allocations: 3.984 kB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.26, allocations: 101 kB / 436.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.26, allocations: 7.984 kB / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.26, allocations: 0 / 436.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.2601, allocations: 19.92 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-06/0.2601, allocations: 4 kB / 436.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2601, allocations: 0 / 436.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.2601, allocations: 95.25 kB / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2601, allocations: 0 / 436.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.2603, allocations: 8 kB / 436.9 MB, free: 1.672 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.0001048/0.2604, allocations: 95.25 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2606, allocations: 43.92 kB / 437.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2606, allocations: 0 / 437.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.2606, allocations: 0 / 437.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.2609, allocations: 45.77 kB / 437.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.2612, allocations: 163.3 kB / 437.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.2613, allocations: 67.34 kB / 437.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.2613, allocations: 15.8 kB / 437.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2613, allocations: 4 kB / 437.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of Templates: time 0.002255/0.2636, allocations: 0.7902 MB / 438.2 MB, free: 420 kB / 334.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.661921327933669]