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.001479/0.001479, allocations: 100.2 kB / 20.96 MB, free: 3.469 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.001682/0.001682, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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.49/1.49, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 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 2.254e-06/2.254e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.823e-05/4.049e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.004906/0.004946, allocations: 1.501 MB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.006655, allocations: 474.6 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.391e-05/0.006739, allocations: 4 kB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.006787, allocations: 3.938 kB / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.006994, allocations: 7.875 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.007298, allocations: 43.83 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.007461, allocations: 47.84 kB / 274.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.007573, allocations: 15.98 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.007704, allocations: 23.92 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.007786, allocations: 23.91 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.007821, allocations: 4 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.007844, allocations: 4 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.007881, allocations: 11.98 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.467e-05/0.007946, allocations: 15.92 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.008136, allocations: 47.86 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.008141, allocations: 0 / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008142, allocations: 0 / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.008147, allocations: 3.938 kB / 274.4 MB, free: 15.59 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.0008774/0.009025, allocations: 302.2 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.009079, allocations: 11.98 kB / 274.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.009148, allocations: 12.83 kB / 274.7 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.009535, allocations: 125.7 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.009563, allocations: 12.38 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.009579, allocations: 384 / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.01016, allocations: 139.8 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.01017, allocations: 192 / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.01018, allocations: 4.375 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.01019, allocations: 3.938 kB / 275 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.01039, allocations: 31.92 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.01058, allocations: 105.3 kB / 275.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.01084, allocations: 58.61 kB / 275.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01096, allocations: 32.83 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.01099, allocations: 0 / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.01103, allocations: 34.56 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.01103, allocations: 0 / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004429/0.01148, allocations: 89.75 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.01159, allocations: 63.41 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.01175, allocations: 113.8 kB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.01179, allocations: 25.7 kB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.0121, allocations: 84.14 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-06/0.01211, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.01216, allocations: 17.7 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.01245, allocations: 314.8 kB / 276 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.01247, allocations: 8 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.01248, allocations: 0 / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.01252, allocations: 12.86 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01252, allocations: 7.875 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001272/0.01265, allocations: 53.7 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01267, allocations: 4 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01267, allocations: 0 / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01268, allocations: 0 / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.01273, allocations: 4 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.01274, allocations: 3.938 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.01277, allocations: 0 / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.01277, allocations: 0 / 276.1 MB, free: 13.77 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 0.0001464/0.01292, allocations: 109.8 kB / 276.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.0132, allocations: 77.64 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.01324, allocations: 8.438 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01325, allocations: 4 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.01326, allocations: 3.938 kB / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01326, allocations: 0 / 276.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.01343, allocations: 109.2 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01343, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.01353, allocations: 11.98 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01353, allocations: 0 / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01354, allocations: 0 / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01354, allocations: 0 / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01355, allocations: 4 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.01388, allocations: 108.9 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.01391, allocations: 7.953 kB / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.01394, allocations: 128 / 276.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.0141, allocations: 15.98 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.01411, allocations: 4 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.01412, allocations: 0 / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01423, allocations: 95.2 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01423, allocations: 4 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.01457, allocations: 8 kB / 276.6 MB, free: 13.14 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 0.0001836/0.01475, allocations: 95.25 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.01493, allocations: 23.98 kB / 276.7 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.01493, allocations: 4 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.01494, allocations: 3.938 kB / 276.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.01541, allocations: 41.91 kB / 276.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.01587, allocations: 134.6 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.01598, allocations: 75.28 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.798e-05/0.016, allocations: 0 / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.01604, allocations: 8.5 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01604, allocations: 0 / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.005151/0.02119, allocations: 0.675 MB / 277.7 MB, free: 12.05 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=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.266297771013342]