Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009629/0.0009629, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.6 MB / 244.3 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007805/0.0007806, allocations: 98.78 kB / 296.4 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002441/0.0002442, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2022, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001219/0.2034, allocations: 1.195 MB / 408.7 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005591/0.204, allocations: 461.8 kB / 409.1 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.2041, allocations: 0 / 409.1 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2041, allocations: 11.86 kB / 409.2 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2042, allocations: 8.438 kB / 409.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2044, allocations: 29.62 kB / 409.2 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.2045, allocations: 47.84 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.365e-05/0.2046, allocations: 7.984 kB / 409.2 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.2046, allocations: 24.61 kB / 409.3 MB, free: 26.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.2047, allocations: 19.92 kB / 409.3 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.2047, allocations: 2.312 kB / 409.3 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.2047, allocations: 4 kB / 409.3 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2047, allocations: 7.984 kB / 409.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2047, allocations: 33.64 kB / 409.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.573e-05/0.2048, allocations: 27.94 kB / 409.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2048, allocations: 0 / 409.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2048, allocations: 0.625 kB / 409.4 MB, free: 25.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.2048, allocations: 0 / 409.4 MB, free: 25.95 MB / 298.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.0004191/0.2053, allocations: 370.5 kB / 409.7 MB, free: 25.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2053, allocations: 9.281 kB / 409.7 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.2053, allocations: 7.906 kB / 409.7 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2055, allocations: 179 kB / 409.9 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2055, allocations: 6.594 kB / 409.9 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2055, allocations: 4 kB / 409.9 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.2058, allocations: 154.6 kB / 410.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2058, allocations: 0 / 410.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2058, allocations: 0 / 410.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2058, allocations: 0 / 410.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.2059, allocations: 31.98 kB / 410.1 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.391e-05/0.2061, allocations: 165.5 kB / 410.3 MB, free: 24.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2062, allocations: 133.6 kB / 410.4 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.2063, allocations: 32.84 kB / 410.4 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2063, allocations: 4 kB / 410.4 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2063, allocations: 46.39 kB / 410.5 MB, free: 24.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2063, allocations: 4 kB / 410.5 MB, free: 24.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002142/0.2066, allocations: 81.84 kB / 410.6 MB, free: 24.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.2066, allocations: 63.47 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.2067, allocations: 109.8 kB / 410.7 MB, free: 24.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.2067, allocations: 33.7 kB / 410.8 MB, free: 24.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.701e-05/0.2067, allocations: 84.14 kB / 410.9 MB, free: 24.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.2067, allocations: 3.906 kB / 410.9 MB, free: 24.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2067, allocations: 4 kB / 410.9 MB, free: 24.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.757e-05/0.2068, allocations: 318.8 kB / 411.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.2068, allocations: 8 kB / 411.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.2068, allocations: 45.09 kB / 411.2 MB, free: 23.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.2068, allocations: 15.98 kB / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2068, allocations: 0 / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.803e-05/0.2069, allocations: 73.75 kB / 411.3 MB, free: 23.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.2069, allocations: 8 kB / 411.3 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.207, allocations: 7.953 kB / 411.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.207, allocations: 0 / 411.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.207, allocations: 11.94 kB / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.207, allocations: 3.938 kB / 411.3 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2071, allocations: 4 kB / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2071, allocations: 4 kB / 411.4 MB, free: 23.71 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.2071, allocations: 117.8 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.2072, allocations: 73.59 kB / 411.5 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.2073, allocations: 8.375 kB / 411.5 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2073, allocations: 3.953 kB / 411.5 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2073, allocations: 0 / 411.5 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2073, allocations: 4 kB / 411.6 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.203e-05/0.2074, allocations: 165.6 kB / 411.7 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2074, allocations: 3.984 kB / 411.7 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.2074, allocations: 7.938 kB / 411.7 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2074, allocations: 4 kB / 411.7 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2074, allocations: 11.98 kB / 411.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2074, allocations: 0 / 411.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2074, allocations: 3.953 kB / 411.7 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2076, allocations: 96.97 kB / 411.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.2076, allocations: 81.09 kB / 411.9 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.2076, allocations: 4 kB / 411.9 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.2077, allocations: 20.11 kB / 411.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-06/0.2077, allocations: 4 kB / 411.9 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2077, allocations: 7.953 kB / 412 MB, free: 23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.571e-05/0.2078, allocations: 87.27 kB / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2078, allocations: 0 / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.2079, allocations: 8 kB / 412 MB, free: 22.91 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.459e-05/0.208, allocations: 99.19 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2081, allocations: 43.92 kB / 412.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2081, allocations: 0 / 412.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.2081, allocations: 0 / 412.2 MB, free: 22.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2084, allocations: 40.02 kB / 412.2 MB, free: 22.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.2087, allocations: 174.7 kB / 412.4 MB, free: 22.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.2088, allocations: 0.6848 MB / 413.1 MB, free: 21.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2088, allocations: 7.438 kB / 413.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2088, allocations: 0 / 413.1 MB, free: 21.79 MB / 298.7 MB Notification: Performance of Templates: time 0.001534/0.2103, allocations: 0.758 MB / 413.8 MB, free: 21.05 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches