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.0009662/0.0009666, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008866/0.0008867, allocations: 93.3 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.96e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 51.49 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4501, allocations: 76.65 MB / 471.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4504, allocations: 78.94 kB / 471.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002607/0.453, allocations: 1.237 MB / 473.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.453, allocations: 0 / 473.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.4531, allocations: 4 kB / 473.1 MB, free: 13.83 MB / 346.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.000214/0.4533, allocations: 341.4 kB / 473.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.4533, allocations: 8.969 kB / 473.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.4534, allocations: 8.531 kB / 473.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4535, allocations: 197.7 kB / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4535, allocations: 0.8594 kB / 473.7 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.4535, allocations: 4 kB / 473.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.4536, allocations: 19.73 kB / 473.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.4538, allocations: 122.6 kB / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4538, allocations: 0 / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4538, allocations: 0 / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.4539, allocations: 4 kB / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.436e-05/0.454, allocations: 142.1 kB / 474 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.4541, allocations: 63.36 kB / 474 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.4541, allocations: 29.12 kB / 474.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4541, allocations: 3.094 kB / 474.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.4542, allocations: 46.45 kB / 474.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.4542, allocations: 0 / 474.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001172/0.4543, allocations: 62.91 kB / 474.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.4543, allocations: 64.14 kB / 474.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.4544, allocations: 116.5 kB / 474.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.4544, allocations: 25.7 kB / 474.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.4544, allocations: 84.53 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.4544, allocations: 5.547 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.4545, allocations: 0 / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.4545, allocations: 316 kB / 474.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.4545, allocations: 4 kB / 474.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.4546, allocations: 59.3 kB / 474.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.4546, allocations: 21.12 kB / 474.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4546, allocations: 4 kB / 474.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.875e-05/0.4547, allocations: 74.2 kB / 474.9 MB, free: 12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.4547, allocations: 4 kB / 474.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4547, allocations: 4.656 kB / 474.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4547, allocations: 3.953 kB / 474.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.95e-05/0.4548, allocations: 5.312 kB / 474.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4548, allocations: 10.38 kB / 475 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.4548, allocations: 8.453 kB / 475 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-06/0.4548, allocations: 4 kB / 475 MB, free: 11.96 MB / 346.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 () * 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 6.349e-05/0.4549, allocations: 106.5 kB / 475.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.455, allocations: 67.52 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.455, allocations: 9.281 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.455, allocations: 3.938 kB / 475.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.455, allocations: 8.562 kB / 475.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.455, allocations: 2.062 kB / 475.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.233e-05/0.4551, allocations: 145.9 kB / 475.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4551, allocations: 0 / 475.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.4551, allocations: 4.703 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4551, allocations: 0 / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4551, allocations: 0.75 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4551, allocations: 0 / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4551, allocations: 0 / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.783e-05/0.4552, allocations: 95.86 kB / 475.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.4553, allocations: 96.78 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.4553, allocations: 0.5625 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.4553, allocations: 0 / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.4553, allocations: 3.938 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.4553, allocations: 4.703 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.4554, allocations: 103.9 kB / 475.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4554, allocations: 1.688 kB / 475.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.4556, allocations: 4 kB / 475.6 MB, free: 11.31 MB / 346.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 () * 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.026e-05/0.4556, allocations: 103.9 kB / 475.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.4557, allocations: 31.88 kB / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4557, allocations: 0 / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.4558, allocations: 0.7031 kB / 475.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.456, allocations: 33.45 kB / 475.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.4562, allocations: 113 kB / 475.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4563, allocations: 0.702 MB / 476.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.4563, allocations: 9.5 kB / 476.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.4564, allocations: 11.44 kB / 476.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4564, allocations: 0 / 476.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.002168/0.4585, allocations: 0.5199 MB / 477.1 MB, free: 10.02 MB / 346.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