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.001804/0.001804, allocations: 71.75 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.001824/0.001824, allocations: 162.2 kB / 24.5 MB, free: 3.707 MB / 14.72 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.414/1.414, allocations: 177.2 MB / 204.9 MB, free: 8.977 MB / 190.1 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 0.001521/0.001521, allocations: 54.83 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09137, allocations: 53.33 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002294/0.09367, allocations: 0.9525 MB / 379.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00036/0.09403, allocations: 123.5 kB / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.09411, allocations: 0 / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.226e-05/0.09415, allocations: 3.938 kB / 380 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.09428, allocations: 23.8 kB / 380 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.09449, allocations: 31.92 kB / 380 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.0946, allocations: 39.89 kB / 380.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.0947, allocations: 20.17 kB / 380.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.09473, allocations: 11.94 kB / 380.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.09478, allocations: 15.86 kB / 380.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.0948, allocations: 4 kB / 380.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.09481, allocations: 8 kB / 380.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.09486, allocations: 15.92 kB / 380.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.0949, allocations: 23.88 kB / 380.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.09502, allocations: 63.55 kB / 380.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.09503, allocations: 0 / 380.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09503, allocations: 0 / 380.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09503, allocations: 0 / 380.2 MB, free: 14.31 MB / 350.1 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.0004253/0.09546, allocations: 302 kB / 380.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.09549, allocations: 8.031 kB / 380.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.09553, allocations: 16.78 kB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.09574, allocations: 142.4 kB / 380.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.09575, allocations: 4.375 kB / 380.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.09577, allocations: 4.375 kB / 380.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.09604, allocations: 127.8 kB / 380.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.09605, allocations: 3.938 kB / 380.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.09606, allocations: 8 kB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.09606, allocations: 4 kB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.722e-05/0.09611, allocations: 23.97 kB / 380.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.09624, allocations: 113.3 kB / 381 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.09639, allocations: 62.66 kB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.09646, allocations: 32.89 kB / 381.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.09647, allocations: 0 / 381.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.0965, allocations: 34.56 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.0965, allocations: 3.938 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002026/0.09671, allocations: 85.58 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.09676, allocations: 59.56 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.0969, allocations: 141.8 kB / 381.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.09691, allocations: 25.7 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.09697, allocations: 92.12 kB / 381.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.09698, allocations: 7.938 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.09702, allocations: 21.72 kB / 381.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.09717, allocations: 318.8 kB / 381.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.09718, allocations: 4 kB / 381.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.413e-05/0.09725, allocations: 58.86 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.09734, allocations: 74.75 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.09734, allocations: 0 / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.09749, allocations: 93.44 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.0975, allocations: 10.91 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.09751, allocations: 7.938 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.09752, allocations: 4.188 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.09759, allocations: 12 kB / 382.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.0976, allocations: 12.23 kB / 382.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.09764, allocations: 11.89 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.09765, allocations: 8 kB / 382.1 MB, free: 12.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 9 * 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 9.402e-05/0.09775, allocations: 117.8 kB / 382.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.09785, allocations: 77.62 kB / 382.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.09789, allocations: 12.72 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.09789, allocations: 4 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.09789, allocations: 4 kB / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.09789, allocations: 0 / 382.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.028e-05/0.09798, allocations: 117.3 kB / 382.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.09799, allocations: 0 / 382.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.09804, allocations: 12 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.09804, allocations: 0 / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.09805, allocations: 3.938 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.09805, allocations: 3.938 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.09806, allocations: 0 / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.09819, allocations: 105.1 kB / 382.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.09823, allocations: 15.95 kB / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.09825, allocations: 11.92 kB / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.09827, allocations: 7.938 kB / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-06/0.09827, allocations: 0 / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.09828, allocations: 0 / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.754e-05/0.09835, allocations: 103.3 kB / 382.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09835, allocations: 0 / 382.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.09856, allocations: 12 kB / 382.7 MB, free: 11.52 MB / 350.1 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.0001004/0.09866, allocations: 95.25 kB / 382.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.09878, allocations: 51.84 kB / 382.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.09878, allocations: 0 / 382.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.09878, allocations: 0 / 382.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.09908, allocations: 36 kB / 382.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.09938, allocations: 173.5 kB / 383.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.811e-05/0.09946, allocations: 79.97 kB / 383.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.09948, allocations: 4.5 kB / 383.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.09951, allocations: 16.5 kB / 383.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09951, allocations: 0 / 383.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.003103/0.1026, allocations: 0.6775 MB / 383.8 MB, free: 10.36 MB / 350.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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.1637806160142645]