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.001141/0.001141, allocations: 85.91 kB / 21.43 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.001167/0.001167, allocations: 165.3 kB / 24.82 MB, free: 9.262 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.966/0.966, allocations: 177 MB / 205.1 MB, free: 5.465 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.264e-06/2.264e-06, allocations: 3.938 kB / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.987e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002389/0.002419, allocations: 0.9782 MB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.002812, allocations: 123.5 kB / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.002925, allocations: 4 kB / 274.4 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.002989, allocations: 7.922 kB / 274.4 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.003161, allocations: 11.94 kB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.003421, allocations: 35.83 kB / 274.5 MB, free: 48 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003534, allocations: 39.91 kB / 274.5 MB, free: 8 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.003673, allocations: 20.19 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.003738, allocations: 23.92 kB / 274.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.003792, allocations: 15.83 kB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.003817, allocations: 4 kB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.003829, allocations: 0 / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.003902, allocations: 27.92 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.00393, allocations: 4 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.004068, allocations: 47.7 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.00407, allocations: 0 / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004072, allocations: 0 / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.004077, allocations: 0 / 274.7 MB, free: 15.86 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.0004102/0.004487, allocations: 396.3 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.004526, allocations: 15.98 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.004561, allocations: 16.84 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.004719, allocations: 147.6 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.004729, allocations: 4.375 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.004739, allocations: 8.312 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.004916, allocations: 109.4 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004923, allocations: 192 / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.004929, allocations: 384 / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.004936, allocations: 4.125 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.004953, allocations: 11.98 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.005062, allocations: 109.2 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.005171, allocations: 63.16 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.005204, allocations: 27.67 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.005213, allocations: 0 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.00524, allocations: 37.39 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 4.118e-06/0.005244, allocations: 3.984 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001545/0.005399, allocations: 73.72 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.005451, allocations: 59.41 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.005567, allocations: 185.9 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.005581, allocations: 33.7 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.005636, allocations: 130.9 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.00565, allocations: 0 / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.005683, allocations: 27.34 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.005849, allocations: 496.1 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-06/0.005855, allocations: 4 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.005863, allocations: 0 / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.005889, allocations: 11.69 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005891, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.84e-05/0.005949, allocations: 49.67 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.005964, allocations: 8 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.005969, allocations: 4 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.005984, allocations: 0 / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.17e-05/0.006025, allocations: 0 / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.006031, allocations: 4 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.006045, allocations: 3.938 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006051, allocations: 0 / 276.7 MB, free: 13.66 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 8.681e-05/0.006138, allocations: 152.6 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.006192, allocations: 77.8 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.006233, allocations: 16.78 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006234, allocations: 4 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.006238, allocations: 4 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.006244, allocations: 3.984 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.414e-05/0.006328, allocations: 105.1 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006329, allocations: 0 / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.006373, allocations: 15.98 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006374, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006378, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006379, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00638, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.803e-05/0.006438, allocations: 80.33 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.953e-05/0.006468, allocations: 15.94 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.006487, allocations: 11.94 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.006494, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-06/0.006497, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.006499, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.987e-05/0.006559, allocations: 142.3 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006559, allocations: 0 / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001218/0.006681, allocations: 8 kB / 277.3 MB, free: 12.97 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 8.931e-05/0.00677, allocations: 95.25 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.006844, allocations: 27.67 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.006846, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.006847, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.007039, allocations: 37.69 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.007235, allocations: 163.4 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.00727, allocations: 67.33 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.466e-05/0.007285, allocations: 4 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.007336, allocations: 74.2 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007337, allocations: 0 / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002062/0.009398, allocations: 0.659 MB / 278.4 MB, free: 11.8 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 -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.6334406239911914]