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.001842/0.001842, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002197/0.002197, allocations: 160.8 kB / 24.27 MB, free: 156 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.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.637 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 1.513e-06/1.513e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.947e-05, allocations: 2.312 kB / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003222/0.003251, allocations: 1.509 MB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.00424, allocations: 486.6 kB / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.004302, allocations: 0 / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.004331, allocations: 7.922 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004488, allocations: 11.88 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.004674, allocations: 39.83 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.004783, allocations: 47.84 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.004869, allocations: 15.98 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.00497, allocations: 23.92 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.005017, allocations: 19.92 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.00504, allocations: 4 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.005053, allocations: 4 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.00508, allocations: 15.97 kB / 274.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.005115, allocations: 15.92 kB / 274.4 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.005236, allocations: 47.86 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005238, allocations: 0 / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005239, allocations: 0 / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.005242, allocations: 3.938 kB / 274.4 MB, free: 15.57 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.0006258/0.005868, allocations: 396.2 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.00591, allocations: 11.98 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.258e-05/0.005963, allocations: 16.83 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.006181, allocations: 132.5 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.006195, allocations: 384 / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.006207, allocations: 4.375 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.00661, allocations: 157.4 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.006622, allocations: 192 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.006631, allocations: 384 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.006638, allocations: 3.938 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.006762, allocations: 35.92 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.006948, allocations: 116.6 kB / 275.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.007183, allocations: 75.09 kB / 275.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.139e-05/0.007275, allocations: 39.66 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.007298, allocations: 0 / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.007333, allocations: 33.39 kB / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.007334, allocations: 0 / 275.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003271/0.007661, allocations: 97.56 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.007751, allocations: 59.34 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.007916, allocations: 173.9 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.007938, allocations: 25.7 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.008029, allocations: 134.9 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.008043, allocations: 3.984 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.008085, allocations: 23.38 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.008373, allocations: 496.1 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.008386, allocations: 0 / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.008404, allocations: 8 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.008435, allocations: 11.69 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008437, allocations: 0 / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.773e-05/0.008514, allocations: 49.58 kB / 276.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.008534, allocations: 16.03 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.008538, allocations: 0 / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.008553, allocations: 0 / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.74e-05/0.00859, allocations: 4 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.008597, allocations: 3.938 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.008614, allocations: 0 / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.008616, allocations: 0 / 276.5 MB, free: 13.28 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.0001402/0.008757, allocations: 160.6 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.008926, allocations: 69.61 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.008965, allocations: 12.44 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008967, allocations: 4 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.008973, allocations: 3.938 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008977, allocations: 0 / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.009118, allocations: 124.6 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009119, allocations: 0 / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.00917, allocations: 7.984 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009172, allocations: 0 / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.009182, allocations: 4.312 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009184, allocations: 4 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.009189, allocations: 4 kB / 276.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.009404, allocations: 116.2 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.00942, allocations: 11.95 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.009436, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.009508, allocations: 11.98 kB / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-06/0.00951, allocations: 0 / 277 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.009524, allocations: 8 kB / 277 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.009623, allocations: 131.1 kB / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009623, allocations: 0 / 277.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.009802, allocations: 12 kB / 277.2 MB, free: 12.53 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.0001376/0.00994, allocations: 99.25 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.01008, allocations: 31.67 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.01009, allocations: 4 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.01009, allocations: 0 / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.01042, allocations: 37.92 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.01078, allocations: 140.2 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.01086, allocations: 79.3 kB / 277.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.01088, allocations: 3.984 kB / 277.6 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.01092, allocations: 12.5 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01092, allocations: 0 / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003855/0.01477, allocations: 0.6707 MB / 278.3 MB, free: 11.41 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] 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.527059628046118]