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.001209/0.001209, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.00253, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007234/0.0007234, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008201/0.001543, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.966/0.966, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08708/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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 1.913e-06/1.913e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.498e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001414/0.001429, allocations: 1.038 MB / 245.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.001605, allocations: 120.3 kB / 245.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.001674, allocations: 3.938 kB / 245.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.00171, allocations: 7.922 kB / 245.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.001772, allocations: 15.88 kB / 245.7 MB, free: 13.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.001913, allocations: 35.83 kB / 245.7 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.002008, allocations: 39.86 kB / 245.8 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.00209, allocations: 16.17 kB / 245.8 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.00215, allocations: 31.97 kB / 245.8 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.002191, allocations: 15.92 kB / 245.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.002212, allocations: 4 kB / 245.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.002222, allocations: 4 kB / 245.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.002259, allocations: 11.94 kB / 245.9 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.002286, allocations: 15.94 kB / 245.9 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.002381, allocations: 39.83 kB / 245.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.002394, allocations: 0 / 245.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002394, allocations: 0 / 245.9 MB, free: 12.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.002405, allocations: 0 / 245.9 MB, free: 12.92 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.0003302/0.002735, allocations: 288.2 kB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.002765, allocations: 16.03 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.002793, allocations: 12.92 kB / 246.2 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.002931, allocations: 136.6 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.002939, allocations: 8.375 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.002947, allocations: 384 / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.003075, allocations: 103.8 kB / 246.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.003081, allocations: 4.188 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.003086, allocations: 384 / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.003092, allocations: 8.125 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.379e-05/0.003106, allocations: 4 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.512e-05/0.003161, allocations: 60.98 kB / 246.5 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.003243, allocations: 50.48 kB / 246.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.003265, allocations: 20.84 kB / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.003271, allocations: 4 kB / 246.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.003288, allocations: 34.5 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.61e-07/0.003289, allocations: 0 / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001018/0.003391, allocations: 70.05 kB / 246.7 MB, free: 12.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.003433, allocations: 59.47 kB / 246.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.982e-05/0.003493, allocations: 134.7 kB / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.003501, allocations: 25.7 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.055e-05/0.003521, allocations: 80.14 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.003532, allocations: 7.953 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.003555, allocations: 13.7 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.003623, allocations: 322.8 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-06/0.003628, allocations: 0 / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.003636, allocations: 7.938 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/0.003654, allocations: 12.92 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.003657, allocations: 0 / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.09e-05/0.003688, allocations: 41.69 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.003698, allocations: 8 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.003701, allocations: 0 / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.003709, allocations: 0 / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.296e-05/0.003742, allocations: 4 kB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.003744, allocations: 0 / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-06/0.003753, allocations: 0 / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.003758, allocations: 3.938 kB / 247.4 MB, free: 11.25 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.019e-05/0.003808, allocations: 120.6 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.003838, allocations: 53.66 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.003868, allocations: 16.78 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.00387, allocations: 0 / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.003872, allocations: 0 / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.003876, allocations: 3.984 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.232e-05/0.003918, allocations: 73.83 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.003919, allocations: 0 / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.003954, allocations: 15.98 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.003977, allocations: 15.91 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.003978, allocations: 7.938 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-06/0.003981, allocations: 0 / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003982, allocations: 0 / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003982, allocations: 0 / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.763e-05/0.00402, allocations: 77 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.004033, allocations: 0 / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.00404, allocations: 0 / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-06/0.004042, allocations: 0 / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.004046, allocations: 4 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.863e-05/0.004065, allocations: 28.28 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004065, allocations: 0 / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.724e-05/0.004152, allocations: 8 kB / 247.8 MB, free: 10.78 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 5.478e-05/0.004207, allocations: 80.36 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.004261, allocations: 24.77 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.004263, allocations: 4 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.3e-07/0.004263, allocations: 0 / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.004402, allocations: 41.23 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.00458, allocations: 160.4 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.004608, allocations: 67.33 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.07e-05/0.004619, allocations: 4.062 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.004657, allocations: 59.31 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of SimCode: time 3.4e-07/0.004657, allocations: 0 / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of Templates: time 0.001869/0.006527, allocations: 0.6665 MB / 248.9 MB, free: 9.637 MB / 250.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 -ignoreHideResult -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.392623297870159]