Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.00222, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002639, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1124/1.166, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.921e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002341/0.00236, allocations: 1.595 MB / 246.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.003051, allocations: 491.3 kB / 246.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.003109, allocations: 7.938 kB / 246.8 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.003134, allocations: 3.938 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.003203, allocations: 19.91 kB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.00334, allocations: 27.91 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.00345, allocations: 47.8 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.003533, allocations: 15.92 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.003644, allocations: 35.91 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.003689, allocations: 15.97 kB / 247 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.003714, allocations: 4 kB / 247 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.003726, allocations: 7.938 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.00375, allocations: 15.94 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.003774, allocations: 8 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.003877, allocations: 31.91 kB / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.003886, allocations: 0 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003887, allocations: 0 / 247 MB, free: 11.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.003896, allocations: 0 / 247 MB, free: 11.9 MB / 250.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.000432/0.004328, allocations: 284.5 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.004363, allocations: 8.031 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.0044, allocations: 8.938 kB / 247.3 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004547, allocations: 121.7 kB / 247.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.004567, allocations: 4.375 kB / 247.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.004584, allocations: 12.31 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.004787, allocations: 120.5 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004795, allocations: 4.188 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.004801, allocations: 384 / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.00481, allocations: 7.938 kB / 247.6 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.004837, allocations: 4 kB / 247.6 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.636e-05/0.004913, allocations: 65.03 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.272e-05/0.005006, allocations: 42.5 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.005043, allocations: 24.84 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.00506, allocations: 3.938 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.005084, allocations: 34.56 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.005084, allocations: 4 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001216/0.005206, allocations: 57.67 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.00525, allocations: 59.36 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.005339, allocations: 114.7 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.005353, allocations: 25.7 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.005377, allocations: 84.12 kB / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.005387, allocations: 0 / 248.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.005415, allocations: 13.72 kB / 248.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.005546, allocations: 326.8 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.005556, allocations: 11.92 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-06/0.005561, allocations: 0 / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.84e-05/0.00558, allocations: 12.92 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005581, allocations: 0 / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.636e-05/0.005628, allocations: 33.7 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.005642, allocations: 6.344 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.005649, allocations: 3.984 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.00566, allocations: 0 / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/0.005688, allocations: 4 kB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.00569, allocations: 0 / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.005708, allocations: 11.88 kB / 248.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-06/0.00571, allocations: 4.031 kB / 248.5 MB, free: 10.25 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 5.849e-05/0.005768, allocations: 105.8 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.005817, allocations: 49.69 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.005843, allocations: 8.438 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005844, allocations: 0 / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005847, allocations: 4 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.00585, allocations: 0 / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.457e-05/0.005905, allocations: 69.83 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005905, allocations: 0 / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.005946, allocations: 7.984 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.005955, allocations: 11.95 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005956, allocations: 3.938 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.005961, allocations: 320 / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.005963, allocations: 4 kB / 248.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.005966, allocations: 7.938 kB / 248.8 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.146e-05/0.006007, allocations: 61.06 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.006022, allocations: 0 / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.006057, allocations: 11.98 kB / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.006061, allocations: 0 / 248.8 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006063, allocations: 4 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.89e-05/0.006082, allocations: 21.14 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006082, allocations: 0 / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.006235, allocations: 8 kB / 248.9 MB, free: 9.824 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 9.166e-05/0.006327, allocations: 84.41 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.006397, allocations: 16.8 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.0064, allocations: 0 / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.0064, allocations: 4 kB / 249 MB, free: 9.711 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.006604, allocations: 89.42 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.007034, allocations: 134.3 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.007072, allocations: 67.34 kB / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.532e-05/0.007088, allocations: 0 / 249.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.007148, allocations: 55.38 kB / 249.3 MB, free: 9.312 MB / 250.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007149, allocations: 3.938 kB / 249.3 MB, free: 9.309 MB / 250.7 MB Notification: Performance of Templates: time 0.002341/0.009489, allocations: 0.7196 MB / 250 MB, free: 8.605 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.816562726162374]