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.001558/0.001558, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001688/0.001688, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.001967/0.001967, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 53.32 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003453/0.2988, allocations: 1.512 MB / 433.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.2998, allocations: 494.7 kB / 434 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.2999, allocations: 11.94 kB / 434 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.2999, allocations: 0 / 434 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.3001, allocations: 19.84 kB / 434.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3002, allocations: 27.92 kB / 434.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3004, allocations: 59.83 kB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3005, allocations: 11.98 kB / 434.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.3006, allocations: 15.94 kB / 434.2 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.3006, allocations: 19.91 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3006, allocations: 7.938 kB / 434.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3007, allocations: 7.938 kB / 434.2 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3007, allocations: 19.92 kB / 434.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.3007, allocations: 23.86 kB / 434.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3008, allocations: 43.67 kB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3009, allocations: 0 / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3009, allocations: 0 / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3009, allocations: 0 / 434.3 MB, free: 5.094 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.0007142/0.3016, allocations: 381.5 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3016, allocations: 12.02 kB / 434.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3017, allocations: 8.891 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.302, allocations: 180.3 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.302, allocations: 8.375 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.302, allocations: 384 / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.3024, allocations: 155.4 kB / 435 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3024, allocations: 0 / 435 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3024, allocations: 0 / 435 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3024, allocations: 3.984 kB / 435 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3025, allocations: 27.98 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.3027, allocations: 165.6 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.303, allocations: 131.7 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.303, allocations: 28.84 kB / 435.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3031, allocations: 3.938 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.3031, allocations: 38.5 kB / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3031, allocations: 0 / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002845/0.3034, allocations: 93.61 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3034, allocations: 55.41 kB / 435.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3035, allocations: 109.8 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.3035, allocations: 29.64 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.3036, allocations: 84.14 kB / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.3036, allocations: 0 / 435.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.3036, allocations: 25.72 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3038, allocations: 314.8 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.3038, allocations: 15.94 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.3039, allocations: 45.14 kB / 436.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.3039, allocations: 57.09 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3039, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001185/0.304, allocations: 73.52 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3041, allocations: 11.94 kB / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3041, allocations: 0 / 436.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3041, allocations: 4.188 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.3041, allocations: 15.92 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3041, allocations: 4 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.3042, allocations: 4 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3042, allocations: 4.25 kB / 436.3 MB, free: 2.766 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.0001041/0.3043, allocations: 121.8 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3044, allocations: 69.58 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.3045, allocations: 12.36 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3045, allocations: 7.875 kB / 436.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3045, allocations: 4 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3045, allocations: 4 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.3046, allocations: 161.7 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3046, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.3047, allocations: 7.984 kB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3047, allocations: 3.938 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3047, allocations: 4 kB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3047, allocations: 0 / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3047, allocations: 0 / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3049, allocations: 97.06 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3049, allocations: 89.05 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3049, allocations: 0 / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.305, allocations: 11.98 kB / 436.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-06/0.305, allocations: 4 kB / 436.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.305, allocations: 3.984 kB / 436.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.3051, allocations: 95.22 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.3053, allocations: 4 kB / 437 MB, free: 1.977 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.0001329/0.3054, allocations: 103.2 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3056, allocations: 39.91 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3056, allocations: 0 / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.3056, allocations: 4.312 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.3059, allocations: 36.02 kB / 437.2 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.3063, allocations: 171.5 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3066, allocations: 0.6884 MB / 438.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.3067, allocations: 11.44 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3067, allocations: 0 / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of Templates: time 0.002543/0.3092, allocations: 0.7774 MB / 438.9 MB, free: 84 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.669492096174508]