Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001495/0.001495, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001739/0.001739, allocations: 170 kB / 24.91 MB, free: 8.77 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.124/1.124, allocations: 177 MB / 205.2 MB, free: 5.055 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.938 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.939e-05, allocations: 5.266 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.0022/0.002229, allocations: 1.027 MB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.002619, allocations: 123.4 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.002712, allocations: 4 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.002767, allocations: 15.81 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.002917, allocations: 3.984 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.003176, allocations: 35.91 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003288, allocations: 43.84 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003388, allocations: 12.12 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.00345, allocations: 31.89 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.003507, allocations: 7.984 kB / 274.7 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.003531, allocations: 4 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.00354, allocations: 4 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.00359, allocations: 11.94 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.003618, allocations: 23.91 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003735, allocations: 43.77 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003737, allocations: 0 / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003737, allocations: 0 / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003742, allocations: 0 / 274.8 MB, free: 15.63 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.0003294/0.004071, allocations: 272.6 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.004117, allocations: 11.98 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.004148, allocations: 12.94 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.004303, allocations: 133.6 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004313, allocations: 12.38 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.004323, allocations: 4.375 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.00448, allocations: 107.8 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004487, allocations: 192 / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004494, allocations: 384 / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.004502, allocations: 4.125 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.004518, allocations: 12 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.971e-05/0.004588, allocations: 53.05 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.721e-05/0.004685, allocations: 58.42 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.004709, allocations: 24.84 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.004716, allocations: 0 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.004739, allocations: 34.56 kB / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.004739, allocations: 0 / 275.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001141/0.004854, allocations: 65.81 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003769/0.005231, allocations: 63.3 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.00531, allocations: 133.8 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.00532, allocations: 25.7 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.005346, allocations: 84.14 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.005356, allocations: 4 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.005381, allocations: 13.72 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.005463, allocations: 322.8 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.00547, allocations: 4 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.005475, allocations: 0 / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.005507, allocations: 8.859 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00551, allocations: 0 / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.438e-05/0.005564, allocations: 41.64 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.005579, allocations: 7.984 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005584, allocations: 4.094 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.005594, allocations: 0 / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.005635, allocations: 4 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.005638, allocations: 320 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.199e-05/0.00565, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.005656, allocations: 3.938 kB / 276.3 MB, free: 13.98 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: 0 () * 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 7.04e-05/0.005726, allocations: 112.7 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.005769, allocations: 57.66 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.005803, allocations: 16.77 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.005805, allocations: 0 / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.005807, allocations: 4 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.00581, allocations: 4 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.21e-05/0.005862, allocations: 77.72 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005863, allocations: 0 / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.005901, allocations: 15.94 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.005902, allocations: 3.938 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.005907, allocations: 4 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005908, allocations: 0 / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.00591, allocations: 3.984 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.379e-05/0.005954, allocations: 53.08 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.005984, allocations: 23.92 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.006, allocations: 8 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.006008, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-06/0.006013, allocations: 3.984 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006017, allocations: 4 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.006041, allocations: 24.84 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006041, allocations: 0 / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.067e-05/0.006132, allocations: 7.938 kB / 276.7 MB, free: 13.51 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: 0 () * 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.811e-05/0.00621, allocations: 76.42 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.086e-05/0.006271, allocations: 16.84 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.006276, allocations: 12.06 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.006277, allocations: 0 / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.00645, allocations: 38.36 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.006669, allocations: 164.5 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.776e-05/0.006716, allocations: 63.34 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.601e-05/0.006732, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.00679, allocations: 63.36 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.006791, allocations: 0 / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002426/0.009217, allocations: 0.6674 MB / 277.8 MB, free: 12.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.9233373133465648]