Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.0008219/0.0008219, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002033, 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.0007866/0.0007866, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001852, 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 1.043/1.043, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.151, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.205e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00317/0.003192, allocations: 1.568 MB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.00332, allocations: 31.91 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.003375, allocations: 3.938 kB / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.0034, allocations: 0 / 246.6 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.003428, allocations: 11.88 kB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.003581, allocations: 15.98 kB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.003675, allocations: 31.91 kB / 246.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.003756, allocations: 7.984 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.003834, allocations: 27.92 kB / 246.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.003884, allocations: 4 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.00391, allocations: 4 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.00392, allocations: 4 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.003939, allocations: 7.938 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.003969, allocations: 8 kB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.004073, allocations: 31.78 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.691e-05/0.00409, allocations: 0 / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004091, allocations: 0 / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.00411, allocations: 0 / 246.8 MB, free: 11.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003922/0.004502, allocations: 244.6 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.004543, allocations: 12.62 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.004575, allocations: 0.9375 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.004741, allocations: 125.7 kB / 247.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.004763, allocations: 8.375 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.004775, allocations: 384 / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.004993, allocations: 108.5 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005002, allocations: 192 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.005009, allocations: 384 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.005015, allocations: 384 / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.005042, allocations: 7.938 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.268e-05/0.005125, allocations: 61.05 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.005195, allocations: 34.55 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.00522, allocations: 12.86 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.005229, allocations: 0 / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.005256, allocations: 34.56 kB / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.005257, allocations: 0 / 247.4 MB, free: 11.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001171/0.005374, allocations: 49.75 kB / 247.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.005421, allocations: 59.39 kB / 247.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.005485, allocations: 106.7 kB / 247.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.005497, allocations: 29.64 kB / 247.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.005525, allocations: 88.14 kB / 247.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.005538, allocations: 3.984 kB / 247.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.005571, allocations: 9.719 kB / 247.7 MB, free: 10.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.00567, allocations: 326.8 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-06/0.005677, allocations: 0 / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/0.005687, allocations: 4.25 kB / 248.1 MB, free: 10.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.005713, allocations: 8.797 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.005717, allocations: 4 kB / 248.1 MB, free: 10.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.143e-05/0.005778, allocations: 37.69 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.005792, allocations: 4.094 kB / 248.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.005799, allocations: 8 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.005808, allocations: 0 / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.00586, allocations: 0 / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.005863, allocations: 4 kB / 248.1 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.005876, allocations: 4 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.005879, allocations: 0 / 248.1 MB, free: 10.34 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 6.732e-05/0.005946, allocations: 113.8 kB / 248.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.005995, allocations: 45.62 kB / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.006019, allocations: 8 kB / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.00602, allocations: 0 / 248.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006022, allocations: 4 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006025, allocations: 0 / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.94e-05/0.006085, allocations: 69.8 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006085, allocations: 0 / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.006141, allocations: 11.98 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.00615, allocations: 4 kB / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006153, allocations: 0 / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006158, allocations: 0 / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006159, allocations: 0 / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00616, allocations: 3.938 kB / 248.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.399e-05/0.006214, allocations: 65.78 kB / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.006229, allocations: 8 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.006245, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.006247, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006252, allocations: 4 kB / 248.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.006271, allocations: 20.83 kB / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006272, allocations: 0 / 248.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.006418, allocations: 4 kB / 248.5 MB, free: 9.938 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001024/0.00652, allocations: 72.42 kB / 248.6 MB, free: 9.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.72e-05/0.006597, allocations: 16.86 kB / 248.6 MB, free: 9.836 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.006601, allocations: 0 / 248.6 MB, free: 9.836 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-07/0.006602, allocations: 0 / 248.6 MB, free: 9.836 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.006767, allocations: 32.39 kB / 248.6 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.007173, allocations: 127 kB / 248.7 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.007209, allocations: 59.34 kB / 248.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.007227, allocations: 0 / 248.8 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.007274, allocations: 51.38 kB / 248.8 MB, free: 9.527 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.007275, allocations: 0 / 248.8 MB, free: 9.527 MB / 250.7 MB Notification: Performance of Templates: time 0.002075/0.00935, allocations: 485.4 kB / 249.3 MB, free: 9.055 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.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.64041234459728]