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.0009697/0.0009697, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009407/0.0009407, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.134e-06/2.134e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.559e-05, allocations: 6.312 kB / 273.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002844/0.00288, allocations: 0.9784 MB / 274 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004463/0.003326, allocations: 127.4 kB / 274.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003436, allocations: 4 kB / 274.2 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.043e-05/0.003497, allocations: 7.875 kB / 274.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.003678, allocations: 0 / 274.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.003943, allocations: 39.89 kB / 274.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.004074, allocations: 43.84 kB / 274.3 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004204, allocations: 16.12 kB / 274.3 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.004272, allocations: 35.89 kB / 274.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.004317, allocations: 4 kB / 274.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.004345, allocations: 0 / 274.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.00436, allocations: 7.938 kB / 274.3 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.004422, allocations: 11.98 kB / 274.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.004466, allocations: 15.94 kB / 274.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.004622, allocations: 39.77 kB / 274.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.004627, allocations: 4 kB / 274.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004629, allocations: 0 / 274.4 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.004635, allocations: 0 / 274.4 MB, free: 0.4961 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.0005421/0.005177, allocations: 412.3 kB / 274.8 MB, free: 60 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.005229, allocations: 8.031 kB / 274.8 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.005287, allocations: 16.84 kB / 274.8 MB, free: 36 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.005529, allocations: 139.2 kB / 275 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.005544, allocations: 4.375 kB / 275 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.005558, allocations: 8.312 kB / 275 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.00584, allocations: 117.5 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.005849, allocations: 192 / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.005862, allocations: 384 / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.005874, allocations: 4.125 kB / 275.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.226e-05/0.005906, allocations: 11.94 kB / 275.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.00607, allocations: 128.6 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.006233, allocations: 71.16 kB / 275.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.006288, allocations: 27.69 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.006297, allocations: 0 / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.006327, allocations: 37.38 kB / 275.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.006328, allocations: 4 kB / 275.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002126/0.00654, allocations: 85.72 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.006606, allocations: 55.41 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.006745, allocations: 193.8 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.006761, allocations: 25.7 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.00682, allocations: 134.9 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.006834, allocations: 0 / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.006873, allocations: 19.38 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.007043, allocations: 0.4884 MB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.007056, allocations: 0 / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.163e-05/0.007068, allocations: 8 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.007103, allocations: 11.69 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.007106, allocations: 0 / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.076e-05/0.007187, allocations: 49.58 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.007204, allocations: 4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.007211, allocations: 4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.007227, allocations: 0 / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.007289, allocations: 4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.007301, allocations: 3.938 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.007316, allocations: 0 / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007322, allocations: 8.094 kB / 276.4 MB, free: 14.23 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.0001076/0.00743, allocations: 156.6 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.019e-05/0.00752, allocations: 65.58 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.007564, allocations: 12.78 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.007569, allocations: 3.984 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007573, allocations: 0 / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.007585, allocations: 7.922 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.35e-05/0.007678, allocations: 132.6 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.00768, allocations: 0 / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.99e-05/0.00774, allocations: 11.94 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.007744, allocations: 4 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.007753, allocations: 8 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007755, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.007757, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.007901, allocations: 120.2 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.007946, allocations: 15.95 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.007972, allocations: 0 / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.007992, allocations: 3.984 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-06/0.007996, allocations: 0 / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.008002, allocations: 4 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.538e-05/0.008077, allocations: 141.5 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008077, allocations: 4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.008283, allocations: 11.94 kB / 277.1 MB, free: 13.47 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.0001169/0.0084, allocations: 95.25 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.008511, allocations: 27.67 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.008514, allocations: 0 / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.008514, allocations: 0 / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.008857, allocations: 37.75 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.009197, allocations: 163.4 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.199e-05/0.009249, allocations: 67.41 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.009266, allocations: 3.938 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.009298, allocations: 12.5 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.0093, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002647/0.01195, allocations: 0.6339 MB / 278.2 MB, free: 12.39 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.8107399521395564]