Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.634/1.634, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008622/0.0008622, allocations: 101.2 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.0002534, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3019, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.4077, allocations: 77.56 MB / 486.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.4081, allocations: 87.89 kB / 487 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004799/0.413, allocations: 1.378 MB / 488.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.413, allocations: 0 / 488.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.4131, allocations: 3.984 kB / 488.4 MB, free: 12.49 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.0006236/0.4137, allocations: 367.4 kB / 488.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4138, allocations: 8.031 kB / 488.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.4138, allocations: 8.844 kB / 488.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4141, allocations: 180.3 kB / 488.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.4141, allocations: 4.375 kB / 489 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4141, allocations: 384 / 489 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.4146, allocations: 151.7 kB / 489.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4146, allocations: 192 / 489.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4146, allocations: 3.938 kB / 489.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4146, allocations: 4 kB / 489.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.4147, allocations: 27.98 kB / 489.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.415, allocations: 161.6 kB / 489.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.4153, allocations: 143.7 kB / 489.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.4154, allocations: 28.84 kB / 489.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.4154, allocations: 4 kB / 489.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4154, allocations: 38.5 kB / 489.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.4154, allocations: 0 / 489.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003299/0.4158, allocations: 93.61 kB / 489.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.4159, allocations: 59.41 kB / 489.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.416, allocations: 105.8 kB / 489.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.416, allocations: 29.64 kB / 489.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.4161, allocations: 88.08 kB / 489.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.4161, allocations: 15.83 kB / 489.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.4161, allocations: 4 kB / 489.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4163, allocations: 314.8 kB / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.4163, allocations: 8 kB / 490.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.299e-05/0.4164, allocations: 49.08 kB / 490.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.4165, allocations: 53.09 kB / 490.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4165, allocations: 0 / 490.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001272/0.4166, allocations: 69.56 kB / 490.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4166, allocations: 8.188 kB / 490.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4167, allocations: 7.938 kB / 490.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4167, allocations: 3.984 kB / 490.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.4167, allocations: 8 kB / 490.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4168, allocations: 7.938 kB / 490.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.411e-05/0.4168, allocations: 4 kB / 490.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4168, allocations: 4 kB / 490.4 MB, free: 10.19 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 9.373e-05/0.4169, allocations: 113.8 kB / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4171, allocations: 69.58 kB / 490.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.4171, allocations: 16.31 kB / 490.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4171, allocations: 4 kB / 490.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4172, allocations: 0 / 490.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4172, allocations: 0 / 490.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.4173, allocations: 161.7 kB / 490.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4173, allocations: 3.984 kB / 490.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.4174, allocations: 11.94 kB / 490.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4174, allocations: 0 / 490.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4174, allocations: 3.938 kB / 490.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4174, allocations: 0 / 490.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4174, allocations: 4 kB / 490.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.4176, allocations: 97.42 kB / 490.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.4177, allocations: 85.02 kB / 491 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4177, allocations: 7.938 kB / 491 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.4178, allocations: 15.92 kB / 491 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-06/0.4178, allocations: 7.984 kB / 491 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.4178, allocations: 4 kB / 491 MB, free: 9.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.4179, allocations: 83.28 kB / 491.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4179, allocations: 0 / 491.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.4181, allocations: 8 kB / 491.1 MB, free: 9.402 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.000147/0.4182, allocations: 103.2 kB / 491.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.4184, allocations: 48.22 kB / 491.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4184, allocations: 0 / 491.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.4184, allocations: 0 / 491.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4188, allocations: 47.33 kB / 491.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.4191, allocations: 137 kB / 491.4 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4194, allocations: 0.6966 MB / 492.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.609e-05/0.4195, allocations: 3.75 kB / 492.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.4195, allocations: 11.44 kB / 492.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4195, allocations: 0 / 492.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of Templates: time 0.002532/0.422, allocations: 0.5753 MB / 492.7 MB, free: 7.742 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches