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.001965/0.001965, allocations: 205.6 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 226.5 MB / 245.4 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008857/0.0008854, allocations: 102.6 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 4 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3325, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4517, allocations: 77.32 MB / 486.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.452, allocations: 82.05 kB / 486.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00326/0.4553, allocations: 1.241 MB / 488 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4553, allocations: 4 kB / 488 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.4553, allocations: 0.5938 kB / 488 MB, free: 12.86 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.0003845/0.4557, allocations: 352.2 kB / 488.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4558, allocations: 12.03 kB / 488.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.4558, allocations: 11.06 kB / 488.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.456, allocations: 192.2 kB / 488.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.4561, allocations: 384 / 488.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4561, allocations: 8.375 kB / 488.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.4564, allocations: 133.4 kB / 488.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4564, allocations: 4.125 kB / 488.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4564, allocations: 7.938 kB / 488.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4564, allocations: 0 / 488.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.4565, allocations: 15.98 kB / 488.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.4567, allocations: 169.7 kB / 488.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4568, allocations: 62.72 kB / 489 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.4569, allocations: 44.83 kB / 489 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4569, allocations: 4 kB / 489 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4569, allocations: 34.55 kB / 489 MB, free: 11.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.4569, allocations: 3.938 kB / 489.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002108/0.4572, allocations: 93.5 kB / 489.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4572, allocations: 55.41 kB / 489.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4573, allocations: 132.9 kB / 489.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4574, allocations: 29.7 kB / 489.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4574, allocations: 88.14 kB / 489.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.4574, allocations: 7.984 kB / 489.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.4574, allocations: 0 / 489.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4576, allocations: 314.8 kB / 489.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.4576, allocations: 11.94 kB / 489.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.4577, allocations: 54.86 kB / 489.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.4577, allocations: 74.75 kB / 489.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4577, allocations: 0 / 489.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001276/0.4579, allocations: 93.45 kB / 490 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4579, allocations: 4 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4579, allocations: 3.938 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4579, allocations: 7.938 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.458, allocations: 4 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.458, allocations: 4.25 kB / 490 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.458, allocations: 11.98 kB / 490 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.458, allocations: 4 kB / 490 MB, free: 10.59 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 9.163e-05/0.4581, allocations: 127.3 kB / 490.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.4582, allocations: 69.59 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.4583, allocations: 16.31 kB / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4583, allocations: 0 / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4583, allocations: 0 / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4583, allocations: 0 / 490.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.4584, allocations: 173.6 kB / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4584, allocations: 0 / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.4585, allocations: 4 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4585, allocations: 0 / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.4585, allocations: 3.938 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4585, allocations: 0 / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4585, allocations: 3.938 kB / 490.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.4586, allocations: 101 kB / 490.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/0.4587, allocations: 97 kB / 490.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.4587, allocations: 8.109 kB / 490.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.4587, allocations: 0 / 490.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-06/0.4588, allocations: 7.938 kB / 490.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4588, allocations: 0 / 490.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.4588, allocations: 99.27 kB / 490.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4588, allocations: 0 / 490.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.4591, allocations: 12 kB / 490.7 MB, free: 9.781 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 0.0001289/0.4592, allocations: 102.4 kB / 490.8 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.4593, allocations: 47.86 kB / 490.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.989e-05/0.4593, allocations: 0 / 490.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.4594, allocations: 0 / 490.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4596, allocations: 42.41 kB / 490.9 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.46, allocations: 179.8 kB / 491.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.4603, allocations: 0.6965 MB / 491.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.75e-05/0.4603, allocations: 7.938 kB / 491.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.4604, allocations: 11.44 kB / 491.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4604, allocations: 0 / 491.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of Templates: time 0.002742/0.4631, allocations: 0.5482 MB / 492.4 MB, free: 8.094 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/jenkins1/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