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.001574/0.001574, allocations: 199.3 kB / 18.07 MB, free: 3.523 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007407/0.0007406, allocations: 94.98 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002202/0.0002203, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.19, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08535/0.2754, allocations: 77.56 MB / 486.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.2757, allocations: 79.89 kB / 486.3 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003973/0.2797, allocations: 1.378 MB / 487.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.35e-06/0.2797, allocations: 3.984 kB / 487.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2797, allocations: 3.938 kB / 487.7 MB, free: 12.57 MB / 362.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.0004339/0.2802, allocations: 363.4 kB / 488 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2802, allocations: 12.03 kB / 488 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.2803, allocations: 4.844 kB / 488.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2804, allocations: 180.4 kB / 488.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2805, allocations: 384 / 488.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2805, allocations: 8.375 kB / 488.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2808, allocations: 147.7 kB / 488.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.2808, allocations: 192 / 488.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2809, allocations: 3.938 kB / 488.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2809, allocations: 0 / 488.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.281, allocations: 39.97 kB / 488.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.2811, allocations: 165.6 kB / 488.6 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2813, allocations: 135.7 kB / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.2814, allocations: 32.86 kB / 488.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2814, allocations: 3.984 kB / 488.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2814, allocations: 42.5 kB / 488.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2815, allocations: 0 / 488.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002496/0.2817, allocations: 89.61 kB / 488.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2818, allocations: 51.41 kB / 488.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.2819, allocations: 113.8 kB / 489 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2819, allocations: 29.64 kB / 489.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.2819, allocations: 84.14 kB / 489.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2819, allocations: 11.84 kB / 489.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.2819, allocations: 3.938 kB / 489.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.282, allocations: 322.8 kB / 489.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.2821, allocations: 4 kB / 489.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.2821, allocations: 49.08 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.2822, allocations: 53.09 kB / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.2822, allocations: 0 / 489.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.577e-05/0.2823, allocations: 77.56 kB / 489.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2823, allocations: 4 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2823, allocations: 7.938 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2823, allocations: 0 / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.299e-05/0.2824, allocations: 11.98 kB / 489.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2824, allocations: 3.938 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.054e-05/0.2824, allocations: 4 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2824, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.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 6.885e-05/0.2825, allocations: 114 kB / 489.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2826, allocations: 73.59 kB / 489.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.2827, allocations: 16.3 kB / 489.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2827, allocations: 0 / 489.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2827, allocations: 0 / 489.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2827, allocations: 0 / 489.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.2828, allocations: 161.7 kB / 490.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2828, allocations: 3.938 kB / 490.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.814e-05/0.2829, allocations: 7.984 kB / 490.1 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2829, allocations: 4 kB / 490.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2829, allocations: 11.94 kB / 490.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2829, allocations: 0 / 490.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2829, allocations: 480 / 490.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.2831, allocations: 97.42 kB / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.2831, allocations: 81.02 kB / 490.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2831, allocations: 3.938 kB / 490.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.2832, allocations: 27.97 kB / 490.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-06/0.2832, allocations: 0 / 490.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2833, allocations: 0 / 490.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.2833, allocations: 95.25 kB / 490.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2833, allocations: 3.938 kB / 490.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000185/0.2835, allocations: 8 kB / 490.4 MB, free: 9.473 MB / 362.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 0.0001238/0.2836, allocations: 103.2 kB / 490.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2838, allocations: 39.92 kB / 490.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2838, allocations: 0 / 490.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2838, allocations: 3.938 kB / 490.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2841, allocations: 51.38 kB / 490.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.2844, allocations: 163 kB / 490.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.2846, allocations: 0.6848 MB / 491.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2846, allocations: 11.42 kB / 491.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of SimCode: time 1.493e-06/0.2846, allocations: 0 / 491.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of Templates: time 0.001765/0.2864, allocations: 0.7597 MB / 492.2 MB, free: 7.605 MB / 362.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/jenkins1/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