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.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001522/0.001522, allocations: 212.8 kB / 23.73 MB, free: 4.164 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.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.00211/0.00211, allocations: 63.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.269, allocations: 53.41 MB / 431.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002837/0.2719, allocations: 1.489 MB / 433.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.2727, allocations: 470.8 kB / 433.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.2728, allocations: 3.938 kB / 433.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.2728, allocations: 3.938 kB / 433.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.273, allocations: 11.94 kB / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2732, allocations: 35.89 kB / 433.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2733, allocations: 47.86 kB / 433.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.2734, allocations: 7.984 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.2734, allocations: 27.91 kB / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.2735, allocations: 27.86 kB / 433.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2735, allocations: 4 kB / 433.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.2735, allocations: 7.938 kB / 433.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.2735, allocations: 8 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2736, allocations: 15.92 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2737, allocations: 55.53 kB / 433.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2737, allocations: 4 kB / 433.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2737, allocations: 0 / 433.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.2737, allocations: 0 / 433.8 MB, free: 4.285 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.0005732/0.2743, allocations: 304.6 kB / 434.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2743, allocations: 11.98 kB / 434.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2744, allocations: 12.89 kB / 434.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2746, allocations: 126.4 kB / 434.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.2746, allocations: 8.312 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2746, allocations: 4.375 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.275, allocations: 147.5 kB / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.275, allocations: 0 / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.275, allocations: 0 / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.275, allocations: 0 / 434.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.2751, allocations: 27.98 kB / 434.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.2752, allocations: 109.3 kB / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2754, allocations: 58.55 kB / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.2755, allocations: 28.84 kB / 434.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2755, allocations: 4 kB / 434.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2755, allocations: 30.56 kB / 434.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2755, allocations: 0 / 434.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002663/0.2758, allocations: 89.56 kB / 434.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.2759, allocations: 59.41 kB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.2759, allocations: 105.8 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.276, allocations: 37.58 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.276, allocations: 88.14 kB / 435.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.276, allocations: 0 / 435.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.2761, allocations: 25.7 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2762, allocations: 314.8 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.2762, allocations: 7.938 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.2763, allocations: 49.14 kB / 435.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.711e-05/0.2763, allocations: 57.09 kB / 435.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2763, allocations: 0 / 435.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.2765, allocations: 77.52 kB / 435.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2765, allocations: 7.984 kB / 435.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2765, allocations: 7.938 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2765, allocations: 0 / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.2765, allocations: 11.94 kB / 435.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2766, allocations: 0 / 435.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.2766, allocations: 8.188 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2766, allocations: 8 kB / 435.6 MB, free: 2.289 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.405e-05/0.2767, allocations: 113.8 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2768, allocations: 73.88 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.2769, allocations: 16.31 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2769, allocations: 0 / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2769, allocations: 4 kB / 435.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2769, allocations: 0 / 435.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.277, allocations: 105.3 kB / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.277, allocations: 0 / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.277, allocations: 15.98 kB / 435.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.277, allocations: 0 / 435.9 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.277, allocations: 3.984 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/0.277, allocations: 3.938 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.277, allocations: 0 / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.2772, allocations: 101.1 kB / 436 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.2772, allocations: 7.938 kB / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2772, allocations: 0 / 436.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.2773, allocations: 23.86 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.2773, allocations: 0 / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.2773, allocations: 4 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.581e-05/0.2774, allocations: 91.72 kB / 436.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2774, allocations: 4 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002017/0.2776, allocations: 8 kB / 436.2 MB, free: 1.656 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.76e-05/0.2777, allocations: 95.25 kB / 436.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.2778, allocations: 44.11 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2778, allocations: 0 / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2778, allocations: 0 / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2781, allocations: 43.5 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.2784, allocations: 137.5 kB / 436.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.2785, allocations: 71.33 kB / 436.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.2785, allocations: 4 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2786, allocations: 11.62 kB / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2786, allocations: 0 / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Templates: time 0.003267/0.2818, allocations: 0.7236 MB / 437.3 MB, free: 0.5 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins/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: 4.507227830588818]