Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 203.3 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007527/0.0007527, allocations: 106 kB / 297.4 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002194/0.0002194, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09083/0.289, allocations: 77.26 MB / 485.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.2893, allocations: 79.95 kB / 486 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003032/0.2923, allocations: 1.267 MB / 487.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2923, allocations: 1.031 kB / 487.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.2923, allocations: 3.938 kB / 487.3 MB, free: 13 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003117/0.2927, allocations: 368.9 kB / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2927, allocations: 8.031 kB / 487.6 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.2928, allocations: 8.844 kB / 487.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2929, allocations: 200.7 kB / 487.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.293, allocations: 4.375 kB / 487.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.293, allocations: 5.031 kB / 487.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.2932, allocations: 135.8 kB / 488 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2932, allocations: 192 / 488 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2933, allocations: 7.938 kB / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2933, allocations: 0 / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.2933, allocations: 15.94 kB / 488 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2935, allocations: 177.5 kB / 488.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2936, allocations: 62.77 kB / 488.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.2936, allocations: 36.84 kB / 488.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.2937, allocations: 0 / 488.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2937, allocations: 42.5 kB / 488.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.2937, allocations: 0 / 488.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000176/0.2939, allocations: 89.67 kB / 488.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2939, allocations: 59.41 kB / 488.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2941, allocations: 132.5 kB / 488.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2941, allocations: 25.7 kB / 488.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.2941, allocations: 92.12 kB / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.2941, allocations: 4 kB / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.2941, allocations: 0 / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.2942, allocations: 318.8 kB / 489 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.2943, allocations: 7.984 kB / 489 MB, free: 11.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.2943, allocations: 58.81 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.2944, allocations: 78.73 kB / 489.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2944, allocations: 0 / 489.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001168/0.2945, allocations: 89.66 kB / 489.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2945, allocations: 7.938 kB / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2945, allocations: 4 kB / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2946, allocations: 0 / 489.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.2946, allocations: 23.92 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2946, allocations: 320 / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.2947, allocations: 8.188 kB / 489.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2947, allocations: 4 kB / 489.3 MB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.595e-05/0.2948, allocations: 129.6 kB / 489.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.2949, allocations: 85.53 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.2949, allocations: 12.7 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2949, allocations: 4 kB / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2949, allocations: 0 / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2949, allocations: 0 / 489.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.295, allocations: 165.7 kB / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.295, allocations: 0 / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.2951, allocations: 19.98 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2951, allocations: 3.938 kB / 489.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2951, allocations: 4 kB / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2951, allocations: 0 / 489.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2951, allocations: 8 kB / 489.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.2952, allocations: 101 kB / 489.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.2953, allocations: 93 kB / 489.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2953, allocations: 3.938 kB / 489.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.2954, allocations: 4 kB / 489.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-06/0.2954, allocations: 0 / 489.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2954, allocations: 7.984 kB / 489.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.2955, allocations: 114 kB / 490 MB, free: 9.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2955, allocations: 0 / 490 MB, free: 9.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.2956, allocations: 4 kB / 490 MB, free: 9.859 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001039/0.2958, allocations: 95.25 kB / 490.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.2959, allocations: 47.86 kB / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2959, allocations: 0 / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2959, allocations: 0.5 kB / 490.2 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2961, allocations: 49.88 kB / 490.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.2964, allocations: 205 kB / 490.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2967, allocations: 0.7043 MB / 491.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.2967, allocations: 11.44 kB / 491.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2967, allocations: 4 kB / 491.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of Templates: time 0.001861/0.2986, allocations: 0.7853 MB / 491.9 MB, free: 7.898 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches