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.001454/0.001454, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001529/0.001529, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.595e-06/2.595e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.496e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003301/0.003336, allocations: 0.9603 MB / 273.3 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005026/0.003838, allocations: 115.5 kB / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.003921, allocations: 0 / 273.4 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.003988, allocations: 3.938 kB / 273.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.004149, allocations: 19.86 kB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.004399, allocations: 31.89 kB / 273.5 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.004527, allocations: 43.86 kB / 273.5 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.004658, allocations: 20.16 kB / 273.5 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.00473, allocations: 23.92 kB / 273.5 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.004778, allocations: 7.984 kB / 273.5 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.004804, allocations: 4 kB / 273.5 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.00482, allocations: 4 kB / 273.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.004889, allocations: 23.91 kB / 273.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.004935, allocations: 7.938 kB / 273.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.005097, allocations: 59.78 kB / 273.6 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005099, allocations: 0 / 273.6 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0051, allocations: 3.938 kB / 273.6 MB, free: 500 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005104, allocations: 4 kB / 273.6 MB, free: 496 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.0005619/0.005666, allocations: 301.9 kB / 273.9 MB, free: 164 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.005705, allocations: 8.031 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.005766, allocations: 12.89 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.006085, allocations: 148.1 kB / 274.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.006099, allocations: 384 / 274.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.006116, allocations: 8.375 kB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.006518, allocations: 127.8 kB / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006527, allocations: 192 / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006538, allocations: 384 / 274.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006546, allocations: 8.125 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.832e-05/0.006605, allocations: 15.98 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.006813, allocations: 121.2 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.007013, allocations: 58.66 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.007112, allocations: 40.89 kB / 274.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.007126, allocations: 3.938 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.007171, allocations: 34.56 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.007173, allocations: 0 / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003101/0.007483, allocations: 85.64 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.007568, allocations: 63.34 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.007773, allocations: 141.8 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.007799, allocations: 25.7 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.007882, allocations: 84.14 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.007898, allocations: 4 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.00794, allocations: 9.719 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.008178, allocations: 322.8 kB / 275.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.008192, allocations: 4 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.008204, allocations: 4 kB / 275.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.008238, allocations: 12.86 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.00824, allocations: 0 / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.008349, allocations: 45.59 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.008369, allocations: 8 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008373, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.008389, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.008441, allocations: 3.984 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.00845, allocations: 8.031 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.008471, allocations: 4 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.008479, allocations: 4 kB / 275.3 MB, free: 14.62 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.0001387/0.008618, allocations: 113.8 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.008776, allocations: 77.78 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.008821, allocations: 12.78 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.008823, allocations: 0 / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.008832, allocations: 3.938 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.008838, allocations: 3.984 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.008991, allocations: 113.3 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008993, allocations: 0 / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.00908, allocations: 19.94 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009082, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.009091, allocations: 0 / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.009092, allocations: 4 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.009097, allocations: 3.984 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.009308, allocations: 105 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.009369, allocations: 19.84 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.009397, allocations: 7.984 kB / 275.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.00943, allocations: 4 kB / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-06/0.009433, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.009439, allocations: 0 / 275.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.009571, allocations: 113.5 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009571, allocations: 0 / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.009881, allocations: 7.938 kB / 275.9 MB, free: 13.96 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.0001583/0.01004, allocations: 102.5 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01018, allocations: 23.98 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01018, allocations: 0 / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.01018, allocations: 0 / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.0106, allocations: 50.03 kB / 276.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.01105, allocations: 182.5 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.01117, allocations: 83.25 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.01119, allocations: 0 / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.01123, allocations: 12.5 kB / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01123, allocations: 0 / 276.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Templates: time 0.004189/0.01542, allocations: 0.6125 MB / 277 MB, free: 12.88 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.276035299059004]