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.001112/0.001112, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002785, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00105/0.00105, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002398, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.912/0.912, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09368/1.006, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.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 3.286e-06/3.286e-06, allocations: 4 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.212e-05, allocations: 4.703 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002056/0.002078, allocations: 1.026 MB / 246.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.002288, allocations: 124.2 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.002357, allocations: 7.938 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.002393, allocations: 3.938 kB / 246.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.002466, allocations: 11.86 kB / 246.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.002611, allocations: 35.84 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.002705, allocations: 47.84 kB / 246.5 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.002784, allocations: 12.19 kB / 246.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.002852, allocations: 39.89 kB / 246.5 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.002893, allocations: 7.984 kB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002915, allocations: 7.938 kB / 246.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.002927, allocations: 4 kB / 246.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.002969, allocations: 8 kB / 246.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.002992, allocations: 11.94 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003096, allocations: 39.77 kB / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.003106, allocations: 4 kB / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003106, allocations: 0 / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.003116, allocations: 4 kB / 246.6 MB, free: 12.14 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.003363/0.006479, allocations: 284.3 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.006508, allocations: 8.625 kB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.00654, allocations: 8.938 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.00669, allocations: 141.6 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.006698, allocations: 384 / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.006709, allocations: 4.375 kB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.006867, allocations: 111.7 kB / 247.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.006876, allocations: 4.172 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.006882, allocations: 384 / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006888, allocations: 8.062 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.006907, allocations: 15.97 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.213e-05/0.006969, allocations: 64.98 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.007058, allocations: 42.55 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.007086, allocations: 24.84 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.007092, allocations: 4 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.007114, allocations: 38.56 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.007114, allocations: 0 / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001012/0.007216, allocations: 65.75 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.007253, allocations: 59.41 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.007327, allocations: 129.5 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.007336, allocations: 25.7 kB / 247.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.007359, allocations: 84.14 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.007368, allocations: 3.953 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.007397, allocations: 21.7 kB / 247.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.007475, allocations: 318.8 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.00748, allocations: 8 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/0.007485, allocations: 0 / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/0.007503, allocations: 12.81 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.007505, allocations: 0 / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.308e-05/0.007548, allocations: 33.7 kB / 248.1 MB, free: 10.49 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.00756, allocations: 7.984 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.007563, allocations: 0 / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007574, allocations: 0 / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.007607, allocations: 4 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.00761, allocations: 8.031 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.007623, allocations: 4 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.007628, allocations: 3.938 kB / 248.1 MB, free: 10.46 MB / 250.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 5.529e-05/0.007683, allocations: 108.7 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.007728, allocations: 61.61 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.007758, allocations: 12.77 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.007761, allocations: 4 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007763, allocations: 0 / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007765, allocations: 0 / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.528e-05/0.007821, allocations: 77.78 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007821, allocations: 4 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.007866, allocations: 12 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.007896, allocations: 15.94 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007899, allocations: 4 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.007903, allocations: 0 / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007904, allocations: 0 / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007905, allocations: 0 / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.295e-05/0.007948, allocations: 68.98 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.007963, allocations: 4 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.007978, allocations: 4 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.00798, allocations: 0 / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.007983, allocations: 4 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.008006, allocations: 20.84 kB / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008006, allocations: 0 / 248.5 MB, free: 10.01 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000133/0.008139, allocations: 8 kB / 248.5 MB, free: 10 MB / 250.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 6.852e-05/0.008208, allocations: 80.36 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.008264, allocations: 24.83 kB / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.008267, allocations: 0 / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.008268, allocations: 0 / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.008449, allocations: 105.9 kB / 248.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.00865, allocations: 168.4 kB / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.008684, allocations: 63.34 kB / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.242e-05/0.008696, allocations: 4 kB / 249 MB, free: 9.496 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.008744, allocations: 51.38 kB / 249 MB, free: 9.445 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008744, allocations: 4 kB / 249 MB, free: 9.441 MB / 250.7 MB Notification: Performance of Templates: time 0.005229/0.01397, allocations: 0.6854 MB / 249.7 MB, free: 8.77 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3845974477007985]