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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 81.81 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 161.7 kB / 24.82 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.045/1.045, allocations: 177 MB / 205.1 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.694e-05, allocations: 5.266 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002676/0.002703, allocations: 0.9002 MB / 274.2 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004092/0.003112, allocations: 115.5 kB / 274.3 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.003236, allocations: 0 / 274.3 MB, free: 236 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.171e-05/0.003288, allocations: 11.88 kB / 274.4 MB, free: 224 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.003409, allocations: 7.969 kB / 274.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.00361, allocations: 35.86 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.781e-05/0.003688, allocations: 43.83 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.003764, allocations: 15.98 kB / 274.5 MB, free: 120 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.003808, allocations: 19.98 kB / 274.5 MB, free: 100 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.003835, allocations: 15.91 kB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.003868, allocations: 4 kB / 274.5 MB, free: 80 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.003876, allocations: 8 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.003912, allocations: 11.94 kB / 274.5 MB, free: 60 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.003932, allocations: 15.92 kB / 274.5 MB, free: 44 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.737e-05/0.004019, allocations: 39.77 kB / 274.6 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004021, allocations: 4 kB / 274.6 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004023, allocations: 0 / 274.6 MB, free: 0 / 250.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.004027, allocations: 0 / 274.6 MB, free: 0 / 250.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.0002738/0.004301, allocations: 392.3 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.004333, allocations: 15.98 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.004357, allocations: 8.891 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.004475, allocations: 144.5 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.004483, allocations: 4.312 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.00449, allocations: 8.375 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.00462, allocations: 105.5 kB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.004626, allocations: 192 / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.004632, allocations: 8.375 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.004635, allocations: 384 / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.004652, allocations: 19.92 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.002e-05/0.004722, allocations: 101.2 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.22e-05/0.004814, allocations: 71.14 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.004835, allocations: 19.69 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.00484, allocations: 0 / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.00486, allocations: 45.38 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.004861, allocations: 0 / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 9.886e-05/0.00496, allocations: 73.56 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.004993, allocations: 59.41 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.005066, allocations: 184.8 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005076, allocations: 33.7 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.005108, allocations: 130.9 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-06/0.005117, allocations: 3.953 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.005143, allocations: 27.34 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.005242, allocations: 496.1 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-06/0.005249, allocations: 8 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-06/0.005253, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.664e-05/0.00527, allocations: 11.69 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005271, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.627e-05/0.005307, allocations: 45.69 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.005317, allocations: 6.969 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.00532, allocations: 0 / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.005329, allocations: 4 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-06/0.005338, allocations: 0 / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.00534, allocations: 3.938 kB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-06/0.005347, allocations: 0 / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005351, allocations: 3.938 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.00541, allocations: 164.6 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.005448, allocations: 69.86 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.005475, allocations: 16.47 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.005476, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005477, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005479, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.364e-05/0.005533, allocations: 113.1 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.005533, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.005537, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.00554, allocations: 7.984 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005543, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005544, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.3e-07/0.005544, allocations: 0 / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.62e-05/0.00558, allocations: 76.31 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.005603, allocations: 19.94 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.005616, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.005624, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-06/0.005626, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.005628, allocations: 4 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.005665, allocations: 135.2 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005665, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.005774, allocations: 8 kB / 277.2 MB, free: 13.13 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.799e-05/0.005832, allocations: 99.25 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.277e-05/0.005885, allocations: 27.66 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.005887, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.005888, allocations: 4 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.006067, allocations: 45.73 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001677/0.006235, allocations: 155.4 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.006264, allocations: 67.34 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.025e-05/0.006274, allocations: 0 / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.006314, allocations: 74.2 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006315, allocations: 64 / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Templates: time 0.001852/0.008167, allocations: 0.6739 MB / 278.3 MB, free: 11.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7470874614082277]