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.00113/0.00113, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001228/0.001228, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.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.225e-06/2.225e-06, allocations: 0 / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.477e-05/3.699e-05, allocations: 2.312 kB / 273 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002226/0.002263, allocations: 1.52 MB / 274.5 MB, free: 176 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.002549, allocations: 107.5 kB / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.002615, allocations: 0 / 274.6 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.002642, allocations: 3.938 kB / 274.6 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.002695, allocations: 0 / 274.6 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.002942, allocations: 23.92 kB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.003038, allocations: 35.84 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.003155, allocations: 4 kB / 274.7 MB, free: 0 / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.00321, allocations: 16.03 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.003258, allocations: 11.92 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.003285, allocations: 4 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.003296, allocations: 0 / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.003318, allocations: 4 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.003354, allocations: 11.98 kB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.003451, allocations: 23.86 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003454, allocations: 0 / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.003455, allocations: 0 / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.00346, allocations: 0 / 274.8 MB, free: 15.93 MB / 266.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.0004086/0.003869, allocations: 364.6 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.003909, allocations: 15.98 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.003947, allocations: 8.891 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.004374, allocations: 128.5 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004383, allocations: 4.375 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.004394, allocations: 4.375 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.004607, allocations: 102.2 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.004618, allocations: 192 / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.00463, allocations: 8.375 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.004638, allocations: 384 / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.004668, allocations: 11.92 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.256e-05/0.00476, allocations: 112.6 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.004843, allocations: 46.98 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.004876, allocations: 19.66 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.004893, allocations: 4 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.004916, allocations: 41.42 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.004917, allocations: 0 / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001313/0.005048, allocations: 53.62 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.005087, allocations: 55.41 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.005156, allocations: 169.8 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.005167, allocations: 29.7 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.005209, allocations: 134.9 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.005212, allocations: 0 / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.00523, allocations: 15.38 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005338, allocations: 496.1 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-06/0.005343, allocations: 4 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-06/0.005347, allocations: 0 / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.005374, allocations: 119.2 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-05/0.005403, allocations: 119.2 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.951e-05/0.005442, allocations: 37.64 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.005478, allocations: 127.2 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.005509, allocations: 119.2 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.626e-05/0.005575, allocations: 242.4 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.833e-05/0.005604, allocations: 123.1 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-05/0.005655, allocations: 238.4 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.005706, allocations: 131.1 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.005739, allocations: 123.2 kB / 277.9 MB, free: 12.57 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: 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 9.747e-05/0.005837, allocations: 271.8 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.005905, allocations: 53.64 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.005933, allocations: 8 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005935, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005939, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.005944, allocations: 7.922 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.813e-05/0.006002, allocations: 120.5 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.006006, allocations: 0 / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.006073, allocations: 8.234 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.006075, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.006083, allocations: 4 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.006086, allocations: 0 / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006087, allocations: 4 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.811e-05/0.006155, allocations: 84.38 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.006163, allocations: 7.953 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006174, allocations: 4 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.006183, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.006186, allocations: 0 / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.00619, allocations: 3.938 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.558e-05/0.006226, allocations: 127.2 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006226, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.006361, allocations: 8 kB / 278.6 MB, free: 11.79 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: 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 7.293e-05/0.006434, allocations: 107.1 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.509e-05/0.006489, allocations: 4 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.006491, allocations: 0 / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.006491, allocations: 0 / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.006666, allocations: 20.38 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.006888, allocations: 125.5 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.00692, allocations: 59.34 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.006926, allocations: 0 / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.006947, allocations: 8.5 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006948, allocations: 4 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of Templates: time 0.001719/0.008666, allocations: 306.5 kB / 279.2 MB, free: 11.11 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.917791909072548]