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.001387/0.001387, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001786/0.001786, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.539/1.539, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.714e-06/1.714e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.273e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002385/0.002417, allocations: 0.8761 MB / 273.1 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004553/0.002873, allocations: 119.5 kB / 273.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.002969, allocations: 4 kB / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.436e-05/0.003034, allocations: 3.938 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.003209, allocations: 11.92 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.003491, allocations: 35.83 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.00361, allocations: 35.92 kB / 273.3 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003719, allocations: 19.92 kB / 273.3 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.00379, allocations: 27.91 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.003829, allocations: 11.98 kB / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.003849, allocations: 0 / 273.3 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.00386, allocations: 4 kB / 273.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.003924, allocations: 15.92 kB / 273.4 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.003971, allocations: 23.92 kB / 273.4 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.004125, allocations: 43.86 kB / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.004127, allocations: 0 / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004127, allocations: 0 / 273.4 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004132, allocations: 0 / 273.4 MB, free: 0.5938 MB / 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.0004466/0.004579, allocations: 298 kB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.004621, allocations: 11.98 kB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.004675, allocations: 12.89 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.004944, allocations: 137.6 kB / 273.9 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.00496, allocations: 16.31 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.004972, allocations: 4.375 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.0053, allocations: 127.8 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.00531, allocations: 192 / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.005321, allocations: 384 / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.00533, allocations: 4.375 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.00538, allocations: 23.92 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.00553, allocations: 113.2 kB / 274.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.005679, allocations: 62.66 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.005749, allocations: 36.89 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.005764, allocations: 4 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.005794, allocations: 30.56 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.005795, allocations: 0 / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002424/0.006037, allocations: 89.55 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.006108, allocations: 67.33 kB / 274.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.006249, allocations: 133.8 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.006269, allocations: 25.7 kB / 274.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.006323, allocations: 88.14 kB / 274.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.006341, allocations: 7.953 kB / 274.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.006375, allocations: 17.66 kB / 274.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.006649, allocations: 318.8 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.006662, allocations: 4 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.00667, allocations: 4 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.006702, allocations: 12.86 kB / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006703, allocations: 0 / 275 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.00677, allocations: 41.64 kB / 275.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.006788, allocations: 12.08 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006792, allocations: 4 kB / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006805, allocations: 0 / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.288e-05/0.006818, allocations: 0 / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.006823, allocations: 0 / 275.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.00684, allocations: 3.938 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.006854, allocations: 4 kB / 275.1 MB, free: 14.73 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 9.971e-05/0.006954, allocations: 113.8 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.007053, allocations: 69.95 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.305e-05/0.007086, allocations: 12.44 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.00709, allocations: 3.984 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.007096, allocations: 7.984 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.007101, allocations: 7.938 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.007204, allocations: 113.3 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007205, allocations: 0 / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.007218, allocations: 3.938 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00722, allocations: 0 / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.00723, allocations: 4 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.007234, allocations: 4 kB / 275.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007235, allocations: 0 / 275.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.007395, allocations: 105.1 kB / 275.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.007439, allocations: 19.94 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.007455, allocations: 4 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.00747, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.007473, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.007483, allocations: 8 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.206e-05/0.007565, allocations: 102.2 kB / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007565, allocations: 0 / 275.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000198/0.007763, allocations: 12 kB / 275.7 MB, free: 14.09 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 0.0001111/0.007874, allocations: 110.8 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.007968, allocations: 23.98 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.00797, allocations: 0 / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.00797, allocations: 0 / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.008297, allocations: 46.42 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.008634, allocations: 169.7 kB / 276 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.547e-05/0.008729, allocations: 79.27 kB / 276.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.626e-05/0.008745, allocations: 4 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.00878, allocations: 12.5 kB / 276.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00878, allocations: 0 / 276.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Templates: time 0.003117/0.0119, allocations: 0.631 MB / 276.7 MB, free: 12.98 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.233993300003931]