Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009801/0.0009801, allocations: 198.5 kB / 18.06 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007319/0.000732, allocations: 105.7 kB / 297.4 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002165/0.0002165, allocations: 4 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2017, allocations: 51.3 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08819/0.2899, allocations: 76.83 MB / 485.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.2902, allocations: 71.95 kB / 485.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001534/0.2918, allocations: 0.7088 MB / 486.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2918, allocations: 0 / 486.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2918, allocations: 0 / 486.3 MB, free: 13.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002809/0.2921, allocations: 340.9 kB / 486.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2921, allocations: 12.03 kB / 486.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.2921, allocations: 4.062 kB / 486.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2923, allocations: 181.2 kB / 486.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2923, allocations: 8.359 kB / 486.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2923, allocations: 384 / 486.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2926, allocations: 105.3 kB / 486.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2926, allocations: 3.688 kB / 486.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2927, allocations: 3.938 kB / 486.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2927, allocations: 4 kB / 486.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.2928, allocations: 19.98 kB / 486.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.2929, allocations: 160.8 kB / 487.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2931, allocations: 73.75 kB / 487.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.662e-05/0.2931, allocations: 20.89 kB / 487.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2932, allocations: 4.031 kB / 487.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2932, allocations: 40.59 kB / 487.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2932, allocations: 0 / 487.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.2934, allocations: 77.52 kB / 487.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2935, allocations: 63.34 kB / 487.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.2936, allocations: 105.8 kB / 487.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2936, allocations: 29.7 kB / 487.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.2937, allocations: 84.14 kB / 487.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.2937, allocations: 0 / 487.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.2937, allocations: 3.938 kB / 487.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2938, allocations: 310.8 kB / 487.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.2938, allocations: 15.98 kB / 487.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.2939, allocations: 23.44 kB / 487.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/0.2939, allocations: 35.38 kB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2939, allocations: 4 kB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.144e-05/0.294, allocations: 53.62 kB / 488 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.294, allocations: 4 kB / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.294, allocations: 3.938 kB / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.294, allocations: 4 kB / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.2941, allocations: 7.938 kB / 488 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2941, allocations: 0 / 488 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.2941, allocations: 4 kB / 488 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.2941, allocations: 0 / 488 MB, free: 11.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.344e-05/0.2942, allocations: 125.9 kB / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2943, allocations: 61.59 kB / 488.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.2944, allocations: 11.84 kB / 488.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2944, allocations: 0 / 488.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2944, allocations: 0 / 488.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2944, allocations: 3.984 kB / 488.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.2945, allocations: 153.7 kB / 488.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2945, allocations: 4 kB / 488.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.2945, allocations: 11.94 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2946, allocations: 0 / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2946, allocations: 3.938 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2946, allocations: 3.984 kB / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2946, allocations: 0 / 488.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.2947, allocations: 85.12 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2948, allocations: 93.31 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2948, allocations: 3.938 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.2948, allocations: 8 kB / 488.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.2948, allocations: 3.938 kB / 488.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.2948, allocations: 3.984 kB / 488.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.2949, allocations: 83.53 kB / 488.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 0 / 488.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.2951, allocations: 8 kB / 488.7 MB, free: 11.21 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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.523e-05/0.2952, allocations: 107.2 kB / 488.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.2953, allocations: 23.98 kB / 488.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2953, allocations: 0 / 488.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-07/0.2953, allocations: 0 / 488.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.2955, allocations: 27.97 kB / 488.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.2958, allocations: 142.7 kB / 489 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.296, allocations: 0.6809 MB / 489.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.296, allocations: 15.42 kB / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2961, allocations: 0 / 489.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.001519/0.2976, allocations: 0.5403 MB / 490.2 MB, free: 9.625 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches