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.0009678/0.0009678, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001069/0.001069, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.024/1.024, allocations: 177 MB / 205.2 MB, free: 5.043 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.974e-06/1.974e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.497e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002321/0.002346, allocations: 0.9468 MB / 274.4 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.002668, allocations: 123.6 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.002733, allocations: 0 / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.002776, allocations: 7.922 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.002893, allocations: 7.938 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.003074, allocations: 43.83 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.003164, allocations: 39.75 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.003244, allocations: 15.98 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.003295, allocations: 23.91 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.003322, allocations: 7.984 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.003339, allocations: 4 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.003349, allocations: 4 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.003388, allocations: 15.92 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.00341, allocations: 11.94 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.218e-05/0.003502, allocations: 43.83 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003504, allocations: 0 / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003505, allocations: 0 / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003509, allocations: 0 / 274.7 MB, free: 15.74 MB / 266.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.0002583/0.003767, allocations: 268.7 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.0038, allocations: 19.91 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.003831, allocations: 12.94 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.003975, allocations: 121.7 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.003985, allocations: 8.312 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.003994, allocations: 8.375 kB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.00415, allocations: 115.7 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004158, allocations: 192 / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.004165, allocations: 4.375 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.004171, allocations: 4.375 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.809e-05/0.004189, allocations: 15.92 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.777e-05/0.004257, allocations: 60.98 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.004349, allocations: 54.53 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.004375, allocations: 24.84 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.004381, allocations: 0 / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004402, allocations: 34.5 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.004403, allocations: 4 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001023/0.004505, allocations: 61.67 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.004543, allocations: 51.41 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.00462, allocations: 134.7 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004629, allocations: 25.7 kB / 275.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.004651, allocations: 80.14 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.004662, allocations: 7.938 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.004693, allocations: 25.7 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.00477, allocations: 318.7 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-06/0.004776, allocations: 0 / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.004781, allocations: 4 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.004803, allocations: 16.78 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004805, allocations: 0 / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.234e-05/0.004847, allocations: 33.7 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.004859, allocations: 8 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004863, allocations: 0 / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.004874, allocations: 4.094 kB / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.057e-05/0.004885, allocations: 0 / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004887, allocations: 320 / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.077e-05/0.004898, allocations: 0 / 276.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.004902, allocations: 4 kB / 276.2 MB, free: 14.07 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.91e-05/0.004961, allocations: 116.6 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.005005, allocations: 61.59 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.005036, allocations: 12.44 kB / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.005037, allocations: 0 / 276.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.00504, allocations: 4 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005044, allocations: 7.984 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.498e-05/0.005099, allocations: 65.84 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.0051, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.005109, allocations: 4 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.005111, allocations: 3.984 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.005116, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005116, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005117, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.978e-05/0.005157, allocations: 65.02 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.005186, allocations: 19.92 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.005201, allocations: 4 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.005214, allocations: 4 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.005216, allocations: 0 / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.00522, allocations: 0 / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.625e-05/0.005247, allocations: 31.59 kB / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005247, allocations: 0 / 276.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.00538, allocations: 4 kB / 276.6 MB, free: 13.62 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 7.118e-05/0.005451, allocations: 76.42 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.687e-05/0.005508, allocations: 32.72 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.00551, allocations: 0 / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005511, allocations: 4.062 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.005661, allocations: 34.48 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.005862, allocations: 156.5 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.005894, allocations: 63.34 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.22e-05/0.005907, allocations: 0 / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.005957, allocations: 63.36 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005958, allocations: 0 / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002204/0.008162, allocations: 0.6685 MB / 277.7 MB, free: 12.48 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 -s gbode -gbm=radauIIA3 -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.534807026386261]