Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001041/0.001041, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 226.5 MB / 245.4 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007648/0.0007648, allocations: 92.16 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.3945, allocations: 77.26 MB / 486.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.3949, allocations: 75.95 kB / 486.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003542/0.3984, allocations: 1.277 MB / 488 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3985, allocations: 0 / 488 MB, free: 12.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3985, allocations: 0 / 488 MB, free: 12.9 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.0003991/0.3989, allocations: 355.3 kB / 488.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.399, allocations: 13.5 kB / 488.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.399, allocations: 12.78 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3992, allocations: 192.1 kB / 488.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3993, allocations: 4.375 kB / 488.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3993, allocations: 12.36 kB / 488.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.3996, allocations: 133.1 kB / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.3996, allocations: 192 / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3996, allocations: 7.938 kB / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3996, allocations: 0 / 488.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.3997, allocations: 15.94 kB / 488.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.3999, allocations: 177.5 kB / 488.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4, allocations: 66.72 kB / 489 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.4001, allocations: 40.89 kB / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.4001, allocations: 0 / 489 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4002, allocations: 34.5 kB / 489 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4002, allocations: 4 kB / 489 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002052/0.4004, allocations: 89.53 kB / 489.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.4004, allocations: 55.41 kB / 489.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4006, allocations: 136 kB / 489.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4006, allocations: 29.7 kB / 489.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.4007, allocations: 84.14 kB / 489.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.4007, allocations: 4 kB / 489.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.4007, allocations: 0 / 489.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4009, allocations: 322.8 kB / 489.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.4009, allocations: 12 kB / 489.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.401, allocations: 58.8 kB / 489.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.4011, allocations: 70.75 kB / 489.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4011, allocations: 0 / 489.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001182/0.4012, allocations: 89.45 kB / 490 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4012, allocations: 11.94 kB / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4012, allocations: 0 / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4013, allocations: 4 kB / 490 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.4013, allocations: 19.94 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4014, allocations: 4 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.4014, allocations: 4 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4014, allocations: 4.312 kB / 490 MB, free: 10.61 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 0.0001153/0.4015, allocations: 130 kB / 490.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.4016, allocations: 85.78 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.4017, allocations: 16.72 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4017, allocations: 3.938 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4017, allocations: 0 / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4017, allocations: 3.984 kB / 490.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.4018, allocations: 173.6 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4019, allocations: 0 / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.4019, allocations: 12 kB / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4019, allocations: 3.938 kB / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4019, allocations: 4 kB / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4019, allocations: 0 / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4019, allocations: 0 / 490.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.4021, allocations: 105 kB / 490.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.4022, allocations: 89 kB / 490.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4022, allocations: 11.94 kB / 490.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.79e-05/0.4022, allocations: 0 / 490.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-06/0.4023, allocations: 0 / 490.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4023, allocations: 4 kB / 490.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.6e-05/0.4023, allocations: 109.4 kB / 490.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4024, allocations: 0 / 490.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.4026, allocations: 12 kB / 490.8 MB, free: 9.758 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.0001262/0.4027, allocations: 99.23 kB / 490.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.4028, allocations: 43.86 kB / 490.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4028, allocations: 0.5 kB / 490.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4028, allocations: 4 kB / 490.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4032, allocations: 42.42 kB / 490.9 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.4035, allocations: 183.3 kB / 491.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4038, allocations: 0.7004 MB / 491.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.533e-05/0.4039, allocations: 4 kB / 491.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.4039, allocations: 15.42 kB / 491.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4039, allocations: 0 / 491.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of Templates: time 0.002682/0.4066, allocations: 0.5518 MB / 492.4 MB, free: 8.059 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches