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.001031/0.001031, allocations: 191.6 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.6 MB / 244.7 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007474/0.0007474, allocations: 99.06 kB / 296.8 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002107/0.0002107, allocations: 11.98 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2229, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001203/0.2241, allocations: 1.189 MB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.2247, allocations: 461.5 kB / 409.7 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.2248, allocations: 3.938 kB / 409.7 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2248, allocations: 0 / 409.7 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2249, allocations: 16.42 kB / 409.7 MB, free: 26.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2251, allocations: 29 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.2252, allocations: 43.86 kB / 409.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.2253, allocations: 13.67 kB / 409.8 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.2253, allocations: 15.94 kB / 409.8 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.2254, allocations: 27.83 kB / 409.8 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.2255, allocations: 4 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2255, allocations: 0.625 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.2255, allocations: 4 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2255, allocations: 46.41 kB / 409.9 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.361e-05/0.2256, allocations: 39.86 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2256, allocations: 0.5938 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2256, allocations: 0.5312 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2256, allocations: 0 / 409.9 MB, free: 25.83 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.0004368/0.2261, allocations: 367.7 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2261, allocations: 8.031 kB / 410.3 MB, free: 25.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2262, allocations: 8.844 kB / 410.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.2263, allocations: 177.6 kB / 410.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2264, allocations: 4.375 kB / 410.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2264, allocations: 384 / 410.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.2267, allocations: 155.5 kB / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2267, allocations: 0 / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2267, allocations: 0 / 410.6 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2267, allocations: 4 kB / 410.6 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.2268, allocations: 35.91 kB / 410.7 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.51e-05/0.2269, allocations: 165.7 kB / 410.8 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2271, allocations: 131.7 kB / 411 MB, free: 24.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.2272, allocations: 32.83 kB / 411 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2272, allocations: 7.938 kB / 411 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.2272, allocations: 46.48 kB / 411 MB, free: 24.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.2272, allocations: 0 / 411 MB, free: 24.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002243/0.2275, allocations: 85.8 kB / 411.1 MB, free: 24.44 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2275, allocations: 59.41 kB / 411.2 MB, free: 24.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.2276, allocations: 109.8 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.2276, allocations: 29.7 kB / 411.3 MB, free: 24.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.2276, allocations: 80.14 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.2276, allocations: 12 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.2276, allocations: 0 / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.2277, allocations: 314.8 kB / 411.7 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.2277, allocations: 11.94 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.2277, allocations: 49.14 kB / 411.8 MB, free: 23.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.2278, allocations: 53.09 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2278, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.436e-05/0.2279, allocations: 81.69 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2279, allocations: 7.938 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2279, allocations: 4 kB / 411.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2279, allocations: 0 / 411.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.397e-05/0.228, allocations: 8 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.228, allocations: 7.984 kB / 411.9 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.228, allocations: 3.906 kB / 411.9 MB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.228, allocations: 7.938 kB / 412 MB, free: 23.54 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 5.476e-05/0.2281, allocations: 113.8 kB / 412.1 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.2282, allocations: 73.69 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.2283, allocations: 12.36 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2283, allocations: 4 kB / 412.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2283, allocations: 0 / 412.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2283, allocations: 0 / 412.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.434e-05/0.2284, allocations: 161.6 kB / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2284, allocations: 0 / 412.3 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.2284, allocations: 15.92 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2284, allocations: 3.938 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2284, allocations: 4 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2284, allocations: 0 / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2284, allocations: 3.938 kB / 412.3 MB, free: 23.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.2286, allocations: 101 kB / 412.4 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.2286, allocations: 88.95 kB / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2286, allocations: 0 / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.2287, allocations: 15.98 kB / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-06/0.2287, allocations: 128 / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2287, allocations: 8 kB / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.762e-05/0.2288, allocations: 87.27 kB / 412.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2288, allocations: 0 / 412.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.229, allocations: 12 kB / 412.6 MB, free: 22.74 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 7.022e-05/0.229, allocations: 99.19 kB / 412.7 MB, free: 22.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2292, allocations: 43.92 kB / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2292, allocations: 0 / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2292, allocations: 0 / 412.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2295, allocations: 36.02 kB / 412.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.2298, allocations: 174.8 kB / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.547e-05/0.2299, allocations: 0.6887 MB / 413.7 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.2299, allocations: 11.44 kB / 413.7 MB, free: 21.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2299, allocations: 0 / 413.7 MB, free: 21.62 MB / 298.7 MB Notification: Performance of Templates: time 0.001896/0.2318, allocations: 0.7566 MB / 414.4 MB, free: 20.88 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