Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009651/0.0009649, allocations: 202.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 245.4 MB, free: 6.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007606/0.0007606, allocations: 100.2 kB / 297.4 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000229/0.0002291, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2014, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08662/0.2881, allocations: 76.81 MB / 485.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.2884, allocations: 71.95 kB / 485.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001862/0.2902, allocations: 0.7792 MB / 486.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2902, allocations: 0 / 486.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.2903, allocations: 0 / 486.3 MB, free: 13.93 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.0003105/0.2906, allocations: 338.6 kB / 486.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2906, allocations: 12.69 kB / 486.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.2907, allocations: 4.875 kB / 486.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2908, allocations: 186 kB / 486.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2909, allocations: 4.375 kB / 486.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2909, allocations: 384 / 486.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2912, allocations: 117 kB / 487 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2912, allocations: 2.969 kB / 487 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2912, allocations: 3.938 kB / 487 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2912, allocations: 7.984 kB / 487 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2914, allocations: 35.84 kB / 487 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2915, allocations: 157.7 kB / 487.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.2916, allocations: 54.55 kB / 487.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.987e-05/0.2917, allocations: 28.86 kB / 487.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2917, allocations: 4 kB / 487.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2918, allocations: 34.56 kB / 487.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2918, allocations: 0 / 487.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.292, allocations: 85.53 kB / 487.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2921, allocations: 59.31 kB / 487.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.2922, allocations: 103.2 kB / 487.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2922, allocations: 25.7 kB / 487.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.2922, allocations: 88.14 kB / 487.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.2922, allocations: 4 kB / 487.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2923, allocations: 0 / 487.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.2924, allocations: 314.8 kB / 488 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.2924, allocations: 7.984 kB / 488 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.2924, allocations: 27.69 kB / 488 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.2925, allocations: 39.38 kB / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2925, allocations: 0 / 488 MB, free: 12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.7e-05/0.2925, allocations: 61.69 kB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2926, allocations: 4 kB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2926, allocations: 11.94 kB / 488.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2926, allocations: 0 / 488.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.2927, allocations: 16.11 kB / 488.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2927, allocations: 0 / 488.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.2927, allocations: 11.94 kB / 488.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2927, allocations: 0 / 488.1 MB, free: 11.89 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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.3e-05/0.2928, allocations: 109.8 kB / 488.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2929, allocations: 73.52 kB / 488.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.293, allocations: 7.844 kB / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.293, allocations: 3.938 kB / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.293, allocations: 0 / 488.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.293, allocations: 4 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.293e-05/0.2931, allocations: 157.7 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2931, allocations: 3.938 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.2931, allocations: 11.98 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2932, allocations: 4 kB / 488.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2932, allocations: 7.938 kB / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.2932, allocations: 0 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2932, allocations: 0 / 488.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.2933, allocations: 93.27 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.2934, allocations: 89.02 kB / 488.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2934, allocations: 7.922 kB / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.071e-05/0.2935, allocations: 4 kB / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-06/0.2935, allocations: 0 / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2935, allocations: 0 / 488.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.2935, allocations: 83.28 kB / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2935, allocations: 0 / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.2937, allocations: 7.984 kB / 488.8 MB, free: 11.12 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.169e-05/0.2938, allocations: 103.2 kB / 488.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.2939, allocations: 27.92 kB / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2939, allocations: 0 / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2939, allocations: 0 / 488.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2942, allocations: 36.02 kB / 489 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.2945, allocations: 146.6 kB / 489.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.2947, allocations: 0.6887 MB / 489.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.2948, allocations: 7.438 kB / 489.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2948, allocations: 0 / 489.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Templates: time 0.001613/0.2964, allocations: 0.6086 MB / 490.4 MB, free: 9.441 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches