Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.195/1.195, allocations: 227.2 MB / 245 MB, free: 7.562 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008631/0.0008631, allocations: 98.05 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000201/0.000201, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2038, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08315/0.287, allocations: 77.38 MB / 486.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.2872, allocations: 80.47 kB / 486.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002835/0.2901, allocations: 1.247 MB / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2901, allocations: 0 / 488.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.2901, allocations: 4 kB / 488.1 MB, free: 11.92 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.0002884/0.2904, allocations: 351.1 kB / 488.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2905, allocations: 14.28 kB / 488.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.2905, allocations: 7.906 kB / 488.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2907, allocations: 188.3 kB / 488.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2907, allocations: 0 / 488.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2907, allocations: 8 kB / 488.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.291, allocations: 132 kB / 488.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.291, allocations: 0 / 488.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.291, allocations: 4 kB / 488.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.291, allocations: 4 kB / 488.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.881e-05/0.291, allocations: 15.98 kB / 488.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.2912, allocations: 177.6 kB / 489 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2913, allocations: 58.72 kB / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.2913, allocations: 0 / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.2913, allocations: 38.52 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.2914, allocations: 0 / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001727/0.2915, allocations: 97.7 kB / 489.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.2916, allocations: 55.41 kB / 489.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.2917, allocations: 123.9 kB / 489.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2917, allocations: 29.7 kB / 489.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.2917, allocations: 80.14 kB / 489.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.2918, allocations: 15.84 kB / 489.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.2918, allocations: 0 / 489.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2919, allocations: 318.8 kB / 489.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.2919, allocations: 8 kB / 489.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/0.292, allocations: 58.8 kB / 489.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.292, allocations: 24 kB / 489.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.292, allocations: 0 / 489.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001109/0.2921, allocations: 81.5 kB / 490 MB, free: 9.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2921, allocations: 4 kB / 490 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2922, allocations: 8.266 kB / 490 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2922, allocations: 4.25 kB / 490 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.995e-05/0.2922, allocations: 11.98 kB / 490 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2922, allocations: 4 kB / 490 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.2922, allocations: 4 kB / 490 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2923, allocations: 7.984 kB / 490 MB, free: 9.797 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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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.73e-05/0.2923, allocations: 119.3 kB / 490.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.2924, allocations: 69.59 kB / 490.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2925, allocations: 12.38 kB / 490.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2925, allocations: 3.953 kB / 490.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2925, allocations: 4 kB / 490.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2925, allocations: 11.92 kB / 490.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.194e-05/0.2926, allocations: 165.7 kB / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2926, allocations: 0 / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.2926, allocations: 3.938 kB / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2926, allocations: 0 / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2926, allocations: 4 kB / 490.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2926, allocations: 4 kB / 490.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2926, allocations: 3.953 kB / 490.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2928, allocations: 101 kB / 490.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.2928, allocations: 97 kB / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2928, allocations: 0 / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.2929, allocations: 0 / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-06/0.2929, allocations: 0 / 490.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.2929, allocations: 11.95 kB / 490.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.2929, allocations: 95.27 kB / 490.7 MB, free: 9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 0 / 490.7 MB, free: 9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.2931, allocations: 12.19 kB / 490.7 MB, free: 8.988 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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 8.55e-05/0.2932, allocations: 107.2 kB / 490.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.2933, allocations: 39.88 kB / 490.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2933, allocations: 0 / 490.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2933, allocations: 0 / 490.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2936, allocations: 57.45 kB / 490.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.2938, allocations: 179.3 kB / 491.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.2941, allocations: 0.6926 MB / 491.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.041e-05/0.2941, allocations: 15.92 kB / 491.8 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2941, allocations: 11.44 kB / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2941, allocations: 0 / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of Templates: time 0.002062/0.2962, allocations: 0.5374 MB / 492.4 MB, free: 7.305 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches