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.002512/0.002512, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003199/0.003199, allocations: 160.8 kB / 24.27 MB, free: 152 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.556/1.556, allocations: 177 MB / 204.4 MB, free: 5.621 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.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.613e-06/1.613e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.705e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002213/0.00224, allocations: 0.8614 MB / 273 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.002634, allocations: 127.5 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.002699, allocations: 0 / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.002805, allocations: 11.88 kB / 273.2 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.002917, allocations: 7.969 kB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.003112, allocations: 39.84 kB / 273.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.003225, allocations: 39.91 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.00334, allocations: 23.92 kB / 273.3 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.003389, allocations: 23.91 kB / 273.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.915e-05/0.003458, allocations: 15.92 kB / 273.3 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003481, allocations: 4 kB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.003497, allocations: 4 kB / 273.3 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.003545, allocations: 19.92 kB / 273.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.00358, allocations: 11.94 kB / 273.4 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.003716, allocations: 63.72 kB / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003719, allocations: 0 / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003719, allocations: 0 / 273.4 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.003724, allocations: 4 kB / 273.4 MB, free: 0.5664 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.0005358/0.00426, allocations: 411.9 kB / 273.8 MB, free: 128 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.004296, allocations: 11.98 kB / 273.8 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.004349, allocations: 20.84 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.004585, allocations: 140.4 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004598, allocations: 4.375 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.004612, allocations: 8.312 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.004897, allocations: 133.4 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004905, allocations: 192 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004914, allocations: 384 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.004917, allocations: 384 / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.004966, allocations: 19.92 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.005129, allocations: 136.6 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.005308, allocations: 67.14 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.005381, allocations: 35.72 kB / 274.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.005394, allocations: 4 kB / 274.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.005433, allocations: 41.39 kB / 274.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.005433, allocations: 0 / 274.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002279/0.005661, allocations: 89.72 kB / 274.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.005728, allocations: 55.41 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.005923, allocations: 216.8 kB / 274.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.005946, allocations: 25.7 kB / 274.8 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.006275, allocations: 130.9 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.006291, allocations: 7.953 kB / 275 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.006338, allocations: 23.38 kB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002681/0.006606, allocations: 0.4923 MB / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.006617, allocations: 0 / 275.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.006631, allocations: 16 kB / 275.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.006662, allocations: 15.62 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006663, allocations: 0 / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.598e-05/0.006739, allocations: 45.64 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.006756, allocations: 8 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.00676, allocations: 0 / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.006773, allocations: 0 / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.006824, allocations: 4 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006828, allocations: 0 / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.006844, allocations: 8.031 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.006848, allocations: 0 / 275.6 MB, free: 14.21 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 0.0001241/0.006972, allocations: 160.6 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.007096, allocations: 77.56 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.007139, allocations: 12.78 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007141, allocations: 3.938 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.007147, allocations: 4 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.007154, allocations: 7.922 kB / 275.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.00728, allocations: 128.6 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007281, allocations: 0 / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.00735, allocations: 8 kB / 276 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.007354, allocations: 11.98 kB / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.007361, allocations: 0 / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.007362, allocations: 0 / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007363, allocations: 400 / 276 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.007537, allocations: 128.2 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.007587, allocations: 19.88 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.007604, allocations: 4 kB / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.007626, allocations: 0 / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.007629, allocations: 0 / 276.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.007636, allocations: 4 kB / 276.1 MB, free: 13.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000106/0.007742, allocations: 143.2 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007742, allocations: 4 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.007919, allocations: 8 kB / 276.3 MB, free: 13.43 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 0.0001339/0.008053, allocations: 107.2 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.008157, allocations: 23.69 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.008158, allocations: 0 / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.008159, allocations: 0 / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.008458, allocations: 56.36 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.008788, allocations: 187 kB / 276.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.939e-05/0.008877, allocations: 79.31 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.008892, allocations: 3.938 kB / 276.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.008935, allocations: 12.5 kB / 276.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008936, allocations: 0 / 276.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Templates: time 0.00358/0.01252, allocations: 0.7004 MB / 277.4 MB, free: 12.22 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.511641536955722]