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.001015/0.001015, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001226/0.001226, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 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.064/1.064, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.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.933e-06/1.933e-06, allocations: 0 / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.058e-05, allocations: 2.312 kB / 273.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002157/0.002188, allocations: 1.543 MB / 274.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.002906, allocations: 470.7 kB / 275.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.002974, allocations: 4 kB / 275.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.003002, allocations: 7.922 kB / 275.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.003169, allocations: 19.86 kB / 275.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.003332, allocations: 31.84 kB / 275.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003439, allocations: 59.78 kB / 275.2 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.003537, allocations: 7.984 kB / 275.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.003618, allocations: 31.91 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.003655, allocations: 11.98 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003677, allocations: 4 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.003687, allocations: 4 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.003708, allocations: 15.92 kB / 275.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.003738, allocations: 11.98 kB / 275.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.552e-05/0.003834, allocations: 47.77 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.003837, allocations: 4 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003838, allocations: 0 / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.003843, allocations: 0 / 275.3 MB, free: 15.59 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.0004565/0.0043, allocations: 392.5 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.004351, allocations: 8.031 kB / 275.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.004397, allocations: 12.89 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.004559, allocations: 128.5 kB / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.004587, allocations: 4.375 kB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.004603, allocations: 8.375 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.004877, allocations: 130.1 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.004886, allocations: 4.188 kB / 276 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004898, allocations: 4.375 kB / 276 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.004907, allocations: 7.938 kB / 276 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.004948, allocations: 11.98 kB / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.005064, allocations: 120.6 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.005194, allocations: 47.11 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.005243, allocations: 31.66 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.005264, allocations: 0 / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.005303, allocations: 37.33 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.005304, allocations: 4 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000188/0.005492, allocations: 65.64 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.00554, allocations: 71.28 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/0.005622, allocations: 169.9 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005632, allocations: 25.7 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.005677, allocations: 138.9 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.005687, allocations: 0 / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.005711, allocations: 23.38 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.005825, allocations: 492.1 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.005835, allocations: 256 / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-06/0.005843, allocations: 7.938 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.005866, allocations: 19.67 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.005868, allocations: 4.062 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.301e-05/0.005911, allocations: 41.66 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.005925, allocations: 6.656 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.00593, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.005942, allocations: 0 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.498e-05/0.005977, allocations: 4 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.005983, allocations: 3.938 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.005998, allocations: 0 / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.006002, allocations: 4 kB / 277.3 MB, free: 13.39 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 6.775e-05/0.006069, allocations: 160.5 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.00612, allocations: 61.72 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.006147, allocations: 8.438 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006149, allocations: 0 / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006153, allocations: 7.938 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006157, allocations: 0 / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.318e-05/0.00622, allocations: 124.5 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006221, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.006252, allocations: 4 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006255, allocations: 4 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.006263, allocations: 3.984 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006263, allocations: 4 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006264, allocations: 0 / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.956e-05/0.006343, allocations: 100.3 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.006354, allocations: 7.953 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.00637, allocations: 4 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.006401, allocations: 11.92 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.006403, allocations: 4.125 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006407, allocations: 4 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.006445, allocations: 135.1 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.006445, allocations: 4 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001094/0.006554, allocations: 8 kB / 277.9 MB, free: 12.66 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 6.545e-05/0.00662, allocations: 95.25 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.006694, allocations: 31.61 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006695, allocations: 0 / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.006696, allocations: 0 / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.006903, allocations: 29.98 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002155/0.007118, allocations: 136.2 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.007154, allocations: 59.34 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.123e-05/0.007165, allocations: 0 / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.007192, allocations: 12.5 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007193, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002041/0.009234, allocations: 0.6725 MB / 279 MB, free: 11.59 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.875672554830089]