Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002419, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002266, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.998/0.998, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09804/1.096, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.317e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002371/0.002394, allocations: 1.03 MB / 246.1 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.002674, allocations: 120.3 kB / 246.2 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.002752, allocations: 3.938 kB / 246.2 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.002793, allocations: 3.938 kB / 246.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.002875, allocations: 15.86 kB / 246.2 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.003066, allocations: 35.84 kB / 246.2 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.003184, allocations: 43.84 kB / 246.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.003277, allocations: 16.17 kB / 246.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.003354, allocations: 39.91 kB / 246.3 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.49e-05/0.003399, allocations: 7.969 kB / 246.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.003421, allocations: 4 kB / 246.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.003434, allocations: 8 kB / 246.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.003476, allocations: 11.94 kB / 246.4 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.003508, allocations: 11.94 kB / 246.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.003617, allocations: 31.86 kB / 246.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-05/0.003634, allocations: 3.938 kB / 246.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.003636, allocations: 0 / 246.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.003653, allocations: 0 / 246.4 MB, free: 12.25 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.0004953/0.004148, allocations: 296.2 kB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004185, allocations: 8.625 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.004221, allocations: 4.938 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.004396, allocations: 141.6 kB / 246.8 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004406, allocations: 4.375 kB / 246.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.004416, allocations: 4.375 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004566, allocations: 103.8 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004572, allocations: 192 / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.00458, allocations: 4.375 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004585, allocations: 8.125 kB / 247 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.004603, allocations: 15.91 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.965e-05/0.004663, allocations: 64.98 kB / 247 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.348e-05/0.004756, allocations: 42.55 kB / 247.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.004781, allocations: 24.84 kB / 247.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.004788, allocations: 4 kB / 247.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004807, allocations: 30.56 kB / 247.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 6.81e-07/0.004808, allocations: 0 / 247.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 9.936e-05/0.004907, allocations: 65.75 kB / 247.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.004949, allocations: 59.41 kB / 247.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.005018, allocations: 137.8 kB / 247.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005028, allocations: 25.7 kB / 247.4 MB, free: 11.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.005048, allocations: 84.12 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.00506, allocations: 7.953 kB / 247.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005085, allocations: 17.72 kB / 247.5 MB, free: 10.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.005158, allocations: 318.8 kB / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.005163, allocations: 0 / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.005169, allocations: 4 kB / 247.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.005189, allocations: 16.78 kB / 247.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005191, allocations: 64 / 247.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.559e-05/0.005227, allocations: 37.7 kB / 247.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005238, allocations: 8 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.005243, allocations: 0 / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/0.005251, allocations: 0 / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.00529, allocations: 7.984 kB / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.005293, allocations: 0 / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-06/0.005302, allocations: 0 / 247.9 MB, free: 10.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005307, allocations: 3.938 kB / 247.9 MB, free: 10.58 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.468e-05/0.005361, allocations: 116.7 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.005395, allocations: 53.66 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.005428, allocations: 16.72 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005431, allocations: 3.984 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005432, allocations: 0 / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005435, allocations: 0 / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.943e-05/0.005485, allocations: 81.77 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005485, allocations: 0 / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.005525, allocations: 16 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.00555, allocations: 11.95 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.005552, allocations: 3.984 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005556, allocations: 0 / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005557, allocations: 4 kB / 248.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005557, allocations: 4 kB / 248.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.82e-05/0.005596, allocations: 61.03 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.00561, allocations: 4 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.005618, allocations: 0 / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.005621, allocations: 4 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.005625, allocations: 3.984 kB / 248.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.889e-05/0.005643, allocations: 24.83 kB / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.005644, allocations: 0 / 248.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.837e-05/0.005732, allocations: 8 kB / 248.3 MB, free: 10.11 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 8.141e-05/0.005813, allocations: 84.36 kB / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.00588, allocations: 12.86 kB / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.005883, allocations: 4 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.005884, allocations: 3.938 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.006052, allocations: 37.75 kB / 248.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.00625, allocations: 172.4 kB / 248.6 MB, free: 9.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.98e-05/0.006279, allocations: 63.34 kB / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.334e-05/0.006293, allocations: 0 / 248.7 MB, free: 9.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.006337, allocations: 59.36 kB / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006338, allocations: 4.062 kB / 248.8 MB, free: 9.625 MB / 250.7 MB Notification: Performance of Templates: time 0.002082/0.00842, allocations: 0.6657 MB / 249.4 MB, free: 8.977 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.496373115107417]