Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001651/0.002761, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002544, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9376/0.9376, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08587/1.024, allocations: 52.5 MB / 238.3 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.41e-05, allocations: 3.859 kB / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.003026/0.00305, allocations: 1.575 MB / 241.1 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006805/0.00373, allocations: 456.3 kB / 241.6 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.501e-05/0.003785, allocations: 4 kB / 241.6 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.00382, allocations: 7.922 kB / 241.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.32e-05/0.003904, allocations: 11.86 kB / 241.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.00406, allocations: 43.83 kB / 241.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.004165, allocations: 51.8 kB / 241.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.00425, allocations: 8 kB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.004365, allocations: 31.91 kB / 241.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.004416, allocations: 19.97 kB / 241.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.004443, allocations: 4 kB / 241.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.004455, allocations: 4 kB / 241.7 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.004479, allocations: 11.94 kB / 241.8 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.004508, allocations: 11.98 kB / 241.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.004617, allocations: 31.86 kB / 241.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.00463, allocations: 0 / 241.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.004631, allocations: 4 kB / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.004648, allocations: 0 / 241.8 MB, free: 0.918 MB / 234.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.0004734/0.005121, allocations: 276.4 kB / 242.1 MB, free: 0.625 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005157, allocations: 12.03 kB / 242.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.005192, allocations: 8.922 kB / 242.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.005355, allocations: 133.7 kB / 242.2 MB, free: 460 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.005378, allocations: 4.375 kB / 242.2 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.005387, allocations: 384 / 242.2 MB, free: 456 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.005634, allocations: 128.4 kB / 242.4 MB, free: 312 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.005644, allocations: 4.172 kB / 242.4 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005652, allocations: 384 / 242.4 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005659, allocations: 7.875 kB / 242.4 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.127e-05/0.0057, allocations: 8 kB / 242.4 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.726e-05/0.005778, allocations: 61.05 kB / 242.4 MB, free: 216 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.005895, allocations: 46.48 kB / 242.5 MB, free: 160 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.005924, allocations: 16.84 kB / 242.5 MB, free: 140 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.00595, allocations: 4 kB / 242.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.005976, allocations: 30.56 kB / 242.5 MB, free: 96 kB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.005977, allocations: 0 / 242.5 MB, free: 96 kB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001378/0.006115, allocations: 57.62 kB / 242.6 MB, free: 32 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.006185, allocations: 59.34 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.006262, allocations: 114.7 kB / 242.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006274, allocations: 29.7 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.006301, allocations: 84.14 kB / 242.9 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.006315, allocations: 11.92 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.006342, allocations: 13.72 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.00643, allocations: 314.8 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.006438, allocations: 4 kB / 243.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.006444, allocations: 0 / 243.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.006464, allocations: 8.859 kB / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006466, allocations: 0 / 243.2 MB, free: 15.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.331e-05/0.006519, allocations: 45.69 kB / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.006532, allocations: 4 kB / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.006536, allocations: 0 / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.006545, allocations: 0 / 243.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.006579, allocations: 4.25 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.006582, allocations: 0 / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.006603, allocations: 11.94 kB / 243.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-06/0.006605, allocations: 0 / 243.3 MB, free: 15.28 MB / 250.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 6.72e-05/0.006672, allocations: 117.8 kB / 243.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.006725, allocations: 41.69 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.006752, allocations: 16.47 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006754, allocations: 0 / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006756, allocations: 0 / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006759, allocations: 0 / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.423e-05/0.006823, allocations: 77.77 kB / 243.5 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006825, allocations: 3.938 kB / 243.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.006873, allocations: 8 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.006887, allocations: 15.94 kB / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006889, allocations: 0 / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006893, allocations: 0 / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.006895, allocations: 320 / 243.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006896, allocations: 4 kB / 243.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.429e-05/0.00694, allocations: 53.08 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.006957, allocations: 4 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.007003, allocations: 15.98 kB / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.007006, allocations: 0 / 243.6 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.007012, allocations: 3.984 kB / 243.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.861e-05/0.007031, allocations: 16.83 kB / 243.6 MB, free: 14.85 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007031, allocations: 4 kB / 243.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.00719, allocations: 7.938 kB / 243.7 MB, free: 14.84 MB / 250.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 8.244e-05/0.007272, allocations: 84.41 kB / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.007349, allocations: 24.84 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.007352, allocations: 0 / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-07/0.007352, allocations: 0 / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.007541, allocations: 37.86 kB / 243.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.007924, allocations: 122.7 kB / 243.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.007964, allocations: 63.34 kB / 244 MB, free: 14.46 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.00798, allocations: 4.062 kB / 244 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.008034, allocations: 55.38 kB / 244 MB, free: 14.4 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008035, allocations: 0 / 244 MB, free: 14.4 MB / 250.7 MB Notification: Performance of Templates: time 0.002674/0.01071, allocations: 0.7068 MB / 244.7 MB, free: 13.7 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedPulse/TimeBasedPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.542828096076846]