Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001076/0.001076, allocations: 81.91 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.001047/0.001047, allocations: 162 kB / 24.82 MB, free: 9.211 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 0.9482/0.9482, allocations: 177 MB / 205.1 MB, free: 5.48 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.523e-05, allocations: 5.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001487/0.001502, allocations: 0.8768 MB / 274.2 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003252/0.001827, allocations: 127.5 kB / 274.3 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.001901, allocations: 4 kB / 274.3 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.959e-05/0.001991, allocations: 11.88 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.002091, allocations: 11.98 kB / 274.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002243, allocations: 35.83 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.232e-05/0.002325, allocations: 43.86 kB / 274.4 MB, free: 136 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.002412, allocations: 15.97 kB / 274.4 MB, free: 120 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.002451, allocations: 23.92 kB / 274.5 MB, free: 96 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.002512, allocations: 15.92 kB / 274.5 MB, free: 80 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.002531, allocations: 4 kB / 274.5 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.00254, allocations: 4 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.002577, allocations: 19.91 kB / 274.5 MB, free: 52 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.002597, allocations: 12 kB / 274.5 MB, free: 40 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.002707, allocations: 55.75 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002709, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002709, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.002712, allocations: 0 / 274.6 MB, free: 15.98 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.000308/0.00302, allocations: 404.2 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.00306, allocations: 11.98 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.003087, allocations: 16.89 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.00321, allocations: 143.5 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.003219, allocations: 12.38 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-06/0.003227, allocations: 4.375 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.003361, allocations: 113.4 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.003367, allocations: 4.188 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.003372, allocations: 384 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003376, allocations: 384 / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.38e-05/0.00339, allocations: 7.938 kB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.53e-05/0.003466, allocations: 105.2 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.003554, allocations: 63.12 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.003586, allocations: 27.72 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.003592, allocations: 0 / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.003611, allocations: 37.55 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.51e-07/0.003612, allocations: 0 / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001084/0.00372, allocations: 81.55 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.003753, allocations: 55.41 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.003847, allocations: 197.8 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.003858, allocations: 25.7 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.003911, allocations: 134.9 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.003925, allocations: 11.98 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.003948, allocations: 19.38 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.004062, allocations: 0.4922 MB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.004069, allocations: 4 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.004074, allocations: 0 / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.004095, allocations: 15.67 kB / 276.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004096, allocations: 3.938 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.693e-05/0.004143, allocations: 37.66 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.004153, allocations: 4 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004158, allocations: 4.094 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004168, allocations: 0 / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.337e-05/0.004201, allocations: 4 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.004205, allocations: 0 / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-06/0.004214, allocations: 0 / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.004221, allocations: 7.938 kB / 276.6 MB, free: 13.76 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 6.883e-05/0.00429, allocations: 164.6 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.004336, allocations: 69.88 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.479e-05/0.004371, allocations: 12.77 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.004374, allocations: 4 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.004376, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004379, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.122e-05/0.00444, allocations: 109.2 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004441, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.004479, allocations: 12 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00448, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.004484, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004485, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004485, allocations: 0 / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.646e-05/0.004532, allocations: 88.19 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.00456, allocations: 19.88 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.004575, allocations: 11.98 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.004584, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.004586, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.00459, allocations: 4 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.004637, allocations: 138.3 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004637, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.004749, allocations: 8 kB / 277.2 MB, free: 13.06 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,const.y,sum.u[1],sum.u[2],sum.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 6.276e-05/0.004811, allocations: 99.25 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.198e-05/0.004863, allocations: 27.66 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.004865, allocations: 4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.004866, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.005037, allocations: 37.69 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.005212, allocations: 167.3 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.00524, allocations: 63.34 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.38e-05/0.005254, allocations: 7.984 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.005307, allocations: 74.2 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005307, allocations: 0 / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002034/0.007341, allocations: 0.7502 MB / 278.4 MB, free: 11.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.664019155781716]