Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9276/0.9276, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.118e-05/4.334e-05, allocations: 6.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00338/0.003423, allocations: 0.978 MB / 274 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005585/0.003982, allocations: 127.5 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.004107, allocations: 0 / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.474e-05/0.004202, allocations: 11.92 kB / 274.1 MB, free: 428 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.004433, allocations: 11.88 kB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.00479, allocations: 35.89 kB / 274.2 MB, free: 380 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.004925, allocations: 39.86 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.00506, allocations: 20.11 kB / 274.2 MB, free: 316 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.005125, allocations: 27.91 kB / 274.2 MB, free: 288 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.005176, allocations: 7.984 kB / 274.2 MB, free: 280 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.005208, allocations: 4 kB / 274.2 MB, free: 276 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.005221, allocations: 4 kB / 274.3 MB, free: 272 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.00529, allocations: 15.92 kB / 274.3 MB, free: 256 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.005345, allocations: 15.92 kB / 274.3 MB, free: 240 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005549, allocations: 47.77 kB / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.005553, allocations: 0 / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005554, allocations: 0 / 274.3 MB, free: 192 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.005561, allocations: 0 / 274.3 MB, free: 192 kB / 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.0005096/0.006071, allocations: 400.4 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.006125, allocations: 11.97 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.006186, allocations: 20.83 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.006428, allocations: 132.5 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006443, allocations: 4.375 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006461, allocations: 16.31 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.006756, allocations: 109.5 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006767, allocations: 192 / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.00678, allocations: 384 / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.006792, allocations: 8.125 kB / 275 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.221e-05/0.006824, allocations: 7.984 kB / 275 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.006988, allocations: 132.6 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007155, allocations: 71.12 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.00721, allocations: 27.72 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.007221, allocations: 4 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.007249, allocations: 37.33 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.007251, allocations: 0 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002174/0.007468, allocations: 85.7 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.007538, allocations: 59.41 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.007675, allocations: 193 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.007694, allocations: 29.7 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.007756, allocations: 130.9 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.007772, allocations: 4 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.007812, allocations: 19.38 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.007976, allocations: 0.4923 MB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.007989, allocations: 0 / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.007998, allocations: 0 / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.008029, allocations: 11.69 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.008031, allocations: 0 / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.652e-05/0.008118, allocations: 53.59 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.008134, allocations: 4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/0.008142, allocations: 8.078 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.008161, allocations: 0 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.008221, allocations: 4 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.008227, allocations: 3.938 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.513e-05/0.008243, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.008248, allocations: 0 / 276.4 MB, free: 13.93 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 0.0001075/0.008356, allocations: 156.6 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.008448, allocations: 69.58 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.008491, allocations: 8.781 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008495, allocations: 4 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.0085, allocations: 4 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008505, allocations: 3.938 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.125e-05/0.008596, allocations: 132.5 kB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008597, allocations: 0 / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.008672, allocations: 12 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.008676, allocations: 0 / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.00869, allocations: 3.984 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.008693, allocations: 0 / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.008697, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.008826, allocations: 116.3 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.008863, allocations: 19.81 kB / 276.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.008891, allocations: 8 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.008912, allocations: 4 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-06/0.008916, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.008923, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.00901, allocations: 143.2 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00901, allocations: 0 / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.009204, allocations: 11.94 kB / 277.1 MB, free: 13.17 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 0.0001251/0.009329, allocations: 95.25 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.009453, allocations: 23.67 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.009456, allocations: 4.062 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.009456, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.009791, allocations: 38.48 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.01016, allocations: 163.4 kB / 277.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.01022, allocations: 70.59 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.01024, allocations: 3.938 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.01029, allocations: 12.5 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01029, allocations: 0 / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.003411/0.0137, allocations: 0.6447 MB / 278.1 MB, free: 12.07 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.7850955412723124]