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.001462/0.001462, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.001173/0.001173, allocations: 162.9 kB / 24.99 MB, free: 9.277 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.9792/0.9792, allocations: 177 MB / 205.2 MB, free: 5.586 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.433e-06/1.433e-06, allocations: 0 / 273 MB, free: 1.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.497e-05, allocations: 5.266 kB / 273 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001678/0.001703, allocations: 0.869 MB / 273.9 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.002102, allocations: 127.5 kB / 274 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.002202, allocations: 7.938 kB / 274 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.002308, allocations: 7.938 kB / 274 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.002446, allocations: 11.86 kB / 274 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.002639, allocations: 35.84 kB / 274.1 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.002742, allocations: 43.84 kB / 274.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.002858, allocations: 19.98 kB / 274.1 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.002912, allocations: 19.97 kB / 274.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.002988, allocations: 19.92 kB / 274.2 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.003014, allocations: 4 kB / 274.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.003023, allocations: 0 / 274.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.003067, allocations: 19.92 kB / 274.2 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.003102, allocations: 15.92 kB / 274.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.003361, allocations: 47.83 kB / 274.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.003364, allocations: 0 / 274.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003365, allocations: 0 / 274.2 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.00337, allocations: 0 / 274.2 MB, free: 0.5078 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.0003921/0.003762, allocations: 412.2 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.003798, allocations: 11.98 kB / 274.7 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.003848, allocations: 16.83 kB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.004045, allocations: 139.3 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004056, allocations: 8.375 kB / 274.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.004068, allocations: 12.38 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.004273, allocations: 121.4 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.00428, allocations: 4.125 kB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.004289, allocations: 384 / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.004297, allocations: 384 / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.004323, allocations: 11.94 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.004426, allocations: 128.6 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.00455, allocations: 71.12 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.004592, allocations: 31.72 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.004599, allocations: 0 / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004619, allocations: 33.39 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.00462, allocations: 4 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001532/0.004773, allocations: 73.64 kB / 275.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.004823, allocations: 59.34 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.004926, allocations: 201.8 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.004935, allocations: 29.7 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.004977, allocations: 134.9 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.004991, allocations: 8 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.005019, allocations: 19.38 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.005141, allocations: 0.4884 MB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.005155, allocations: 4 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.005164, allocations: 0 / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.00519, allocations: 11.69 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005192, allocations: 0 / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.371e-05/0.005246, allocations: 41.66 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005259, allocations: 7.938 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.005264, allocations: 4.094 kB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.005276, allocations: 7.984 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.005318, allocations: 0 / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.005324, allocations: 0 / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.135e-05/0.005335, allocations: 7.938 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005339, allocations: 3.938 kB / 276.3 MB, free: 14.22 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.492e-05/0.005404, allocations: 152.6 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.005462, allocations: 70.11 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.005497, allocations: 12.78 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005499, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.005502, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.005506, allocations: 11.94 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.907e-05/0.005575, allocations: 124.6 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005576, allocations: 0 / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.005625, allocations: 19.94 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005627, allocations: 0 / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.005634, allocations: 4 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.005636, allocations: 80 / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005638, allocations: 3.984 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.00573, allocations: 116.3 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.005764, allocations: 23.83 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.005785, allocations: 4 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.005799, allocations: 7.984 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.005802, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.005806, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.005866, allocations: 150.5 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005866, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.005985, allocations: 4 kB / 277 MB, free: 13.45 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 8.912e-05/0.006074, allocations: 103.1 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.006159, allocations: 27.67 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.00616, allocations: 4.062 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.006161, allocations: 0 / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.006397, allocations: 39.34 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.006653, allocations: 167.3 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.925e-05/0.006692, allocations: 63.34 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.353e-05/0.006705, allocations: 4 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.006731, allocations: 16.48 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.006732, allocations: 3.938 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002585/0.009317, allocations: 0.7035 MB / 278.1 MB, free: 12.28 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.836542734876275]