Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.0008383/0.0008383, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001897, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006909/0.0006909, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009302/0.001621, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9815/0.9815, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09307/1.075, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 3.984 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.289e-05, allocations: 5.406 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002274/0.002296, allocations: 1.572 MB / 246.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.002448, allocations: 96.34 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.002498, allocations: 3.938 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.002517, allocations: 0 / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.002541, allocations: 11.86 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.002658, allocations: 19.92 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.002733, allocations: 31.92 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.002801, allocations: 11.98 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.002857, allocations: 23.91 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.002893, allocations: 7.938 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.002912, allocations: 0 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.00292, allocations: 4 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.002941, allocations: 7.938 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.00296, allocations: 4 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.872e-05/0.003028, allocations: 19.92 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.003035, allocations: 0 / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003035, allocations: 4 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.003043, allocations: 0 / 247 MB, free: 11.71 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.0002771/0.00332, allocations: 248.6 kB / 247.3 MB, free: 11.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.003348, allocations: 8.625 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.003372, allocations: 4.938 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.003485, allocations: 117.7 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.003493, allocations: 4.375 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.003501, allocations: 384 / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.003649, allocations: 112.5 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.003654, allocations: 192 / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003662, allocations: 8.344 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.003666, allocations: 384 / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.003681, allocations: 11.94 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.534e-05/0.003737, allocations: 61.05 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.00379, allocations: 34.55 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.003806, allocations: 8.859 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.00382, allocations: 0 / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.003839, allocations: 46.56 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.00384, allocations: 0 / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.431e-05/0.003924, allocations: 45.62 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.003956, allocations: 55.39 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/0.004001, allocations: 102.7 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.004009, allocations: 25.7 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.004029, allocations: 88.12 kB / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.00403, allocations: 0 / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.004047, allocations: 17.7 kB / 248 MB, free: 10.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.004114, allocations: 314.8 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-06/0.004116, allocations: 7.938 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.004119, allocations: 4 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.646e-05/0.004135, allocations: 75.28 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.004155, allocations: 79.22 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.998e-05/0.004185, allocations: 29.7 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.004209, allocations: 79.28 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.004226, allocations: 75.34 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/0.004263, allocations: 166.5 kB / 248.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.477e-05/0.004278, allocations: 75.28 kB / 248.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002935/0.004572, allocations: 154.5 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.004608, allocations: 79.28 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.004624, allocations: 75.28 kB / 249.2 MB, free: 9.367 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.889e-05/0.004683, allocations: 197 kB / 249.4 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.00472, allocations: 45.62 kB / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.004742, allocations: 4 kB / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004743, allocations: 0 / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.004744, allocations: 0 / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004747, allocations: 3.984 kB / 249.4 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.228e-05/0.004789, allocations: 69.84 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.004792, allocations: 0 / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.004846, allocations: 8 kB / 249.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.004854, allocations: 11.94 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.004855, allocations: 4 kB / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.004859, allocations: 0 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.00486, allocations: 0 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.004862, allocations: 240 / 249.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.322e-05/0.004895, allocations: 61 kB / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-06/0.004902, allocations: 0 / 249.6 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.004913, allocations: 8.234 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.00493, allocations: 0 / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.004954, allocations: 4 kB / 249.6 MB, free: 8.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.004993, allocations: 12.86 kB / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004993, allocations: 0 / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001158/0.005109, allocations: 8 kB / 249.6 MB, free: 8.883 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: 0 () * 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 9.986e-05/0.005209, allocations: 72.42 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.344e-05/0.005262, allocations: 15.92 kB / 249.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.005266, allocations: 0 / 249.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.005267, allocations: 0 / 249.7 MB, free: 8.785 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.005402, allocations: 25.08 kB / 249.7 MB, free: 8.758 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.00575, allocations: 123.3 kB / 249.9 MB, free: 8.613 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.005778, allocations: 55.36 kB / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.503e-06/0.005784, allocations: 4 kB / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.00582, allocations: 55.38 kB / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of SimCode: time 5.92e-07/0.00582, allocations: 0 / 250 MB, free: 8.48 MB / 250.7 MB Notification: Performance of Templates: time 0.001587/0.007407, allocations: 313.4 kB / 250.3 MB, free: 8.176 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4078265177085996]