Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.009575/0.009575, allocations: 110.5 kB / 21.98 MB, free: 5.184 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.00246/0.00246, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 259 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3008, allocations: 53.37 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002949/0.3038, allocations: 1.505 MB / 434.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.3047, allocations: 0.4986 MB / 435.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.3048, allocations: 0 / 435.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.3048, allocations: 3.938 kB / 435.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.305, allocations: 19.86 kB / 435.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3052, allocations: 35.84 kB / 435.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3053, allocations: 59.78 kB / 435.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.3054, allocations: 8 kB / 435.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.3055, allocations: 19.92 kB / 435.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.3055, allocations: 27.91 kB / 435.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3056, allocations: 4 kB / 435.3 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.3056, allocations: 4 kB / 435.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3056, allocations: 15.92 kB / 435.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3056, allocations: 11.94 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3057, allocations: 55.59 kB / 435.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3058, allocations: 0 / 435.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3058, allocations: 0 / 435.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3058, allocations: 7.938 kB / 435.4 MB, free: 4.668 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.000571/0.3063, allocations: 295.7 kB / 435.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3064, allocations: 12.03 kB / 435.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.3064, allocations: 4.891 kB / 435.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.3066, allocations: 130.4 kB / 435.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3066, allocations: 4.375 kB / 435.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3067, allocations: 384 / 435.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.307, allocations: 147.5 kB / 436 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.307, allocations: 8 kB / 436 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.307, allocations: 0 / 436 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.307, allocations: 0 / 436 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3072, allocations: 31.92 kB / 436.1 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3073, allocations: 140.7 kB / 436.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3075, allocations: 50.62 kB / 436.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.3076, allocations: 28.84 kB / 436.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3076, allocations: 4 kB / 436.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3076, allocations: 42.44 kB / 436.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.3076, allocations: 3.984 kB / 436.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002854/0.3079, allocations: 93.55 kB / 436.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.308, allocations: 51.41 kB / 436.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3081, allocations: 117.8 kB / 436.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3081, allocations: 25.7 kB / 436.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.3082, allocations: 88.14 kB / 436.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.3082, allocations: 4 kB / 436.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.3082, allocations: 17.72 kB / 436.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3084, allocations: 318.8 kB / 437 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.3084, allocations: 4 kB / 437 MB, free: 2.902 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.3085, allocations: 49.14 kB / 437.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.293e-05/0.3085, allocations: 61.03 kB / 437.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3085, allocations: 0 / 437.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001294/0.3087, allocations: 81.52 kB / 437.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3087, allocations: 7.938 kB / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3087, allocations: 0 / 437.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3087, allocations: 4 kB / 437.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.3088, allocations: 11.98 kB / 437.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3088, allocations: 0 / 437.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.3088, allocations: 4 kB / 437.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.3088, allocations: 0 / 437.2 MB, free: 2.645 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 0.0001021/0.3089, allocations: 125.9 kB / 437.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.3091, allocations: 73.58 kB / 437.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.3091, allocations: 12.36 kB / 437.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3091, allocations: 4 kB / 437.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3091, allocations: 0 / 437.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3091, allocations: 320 / 437.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3092, allocations: 128.7 kB / 437.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3092, allocations: 4 kB / 437.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.3093, allocations: 15.98 kB / 437.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3093, allocations: 7.938 kB / 437.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3093, allocations: 0 / 437.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3093, allocations: 3.938 kB / 437.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3093, allocations: 0 / 437.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.3095, allocations: 101 kB / 437.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.3095, allocations: 3.938 kB / 437.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3095, allocations: 4 kB / 437.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.3096, allocations: 23.92 kB / 437.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.3096, allocations: 0 / 437.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3096, allocations: 0 / 437.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.3097, allocations: 91.73 kB / 437.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3097, allocations: 0 / 437.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3099, allocations: 8 kB / 437.8 MB, free: 1.969 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.000119/0.31, allocations: 99.25 kB / 437.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3101, allocations: 39.92 kB / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3101, allocations: 0 / 438 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3101, allocations: 7.938 kB / 438 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3104, allocations: 36.23 kB / 438 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.3108, allocations: 155.3 kB / 438.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3112, allocations: 0.6888 MB / 438.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.3112, allocations: 15.44 kB / 438.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3112, allocations: 0 / 438.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Templates: time 0.002587/0.3138, allocations: 0.7752 MB / 439.6 MB, free: 100 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 7.032036582939327]