Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001518/0.001518, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001563/0.001563, allocations: 169.3 kB / 24.82 MB, free: 9.273 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.049/1.049, allocations: 177 MB / 205.1 MB, free: 5.484 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.421e-05, allocations: 5.266 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001846/0.00186, allocations: 1.498 MB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.002166, allocations: 99.61 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.002226, allocations: 3.938 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.00225, allocations: 3.984 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.487e-05/0.002285, allocations: 3.938 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.002483, allocations: 19.98 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.002546, allocations: 31.86 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.002625, allocations: 11.98 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.002689, allocations: 11.98 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.002738, allocations: 15.92 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002754, allocations: 3.938 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.00276, allocations: 4 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.002776, allocations: 0 / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.002793, allocations: 11.98 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.585e-05/0.002859, allocations: 23.86 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.002861, allocations: 0 / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.002862, allocations: 0 / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.002866, allocations: 0 / 275.1 MB, free: 15.49 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.000275/0.003141, allocations: 368.6 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.003174, allocations: 11.98 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.003203, allocations: 8.891 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.003328, allocations: 120.6 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.003336, allocations: 4.375 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.003342, allocations: 384 / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.00349, allocations: 102.2 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.003496, allocations: 8.125 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.003501, allocations: 384 / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003507, allocations: 384 / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.003524, allocations: 11.92 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.478e-05/0.003598, allocations: 97.22 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.003657, allocations: 47.03 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.003676, allocations: 15.75 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.003693, allocations: 8 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.003711, allocations: 37.33 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.003712, allocations: 0 / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.054e-05/0.003803, allocations: 49.69 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.00383, allocations: 55.41 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.003894, allocations: 169.9 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.003902, allocations: 25.7 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.003935, allocations: 130.8 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.003936, allocations: 0 / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.003954, allocations: 19.38 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.004085, allocations: 0.4883 MB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.004089, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-06/0.004092, allocations: 0 / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.004125, allocations: 127.1 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/0.004154, allocations: 127.2 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.226e-05/0.004186, allocations: 25.7 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.004225, allocations: 130.3 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.004256, allocations: 119.2 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.926e-05/0.004316, allocations: 246.3 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.004344, allocations: 119.4 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.228e-05/0.004397, allocations: 246.3 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.004445, allocations: 123.2 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.00447, allocations: 127.1 kB / 278.2 MB, free: 12.16 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 7.8e-05/0.004548, allocations: 279.8 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.004592, allocations: 49.59 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.169e-05/0.004613, allocations: 7.984 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.004615, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.004616, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004618, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.459e-05/0.004673, allocations: 105.1 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.004675, allocations: 0 / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.004719, allocations: 11.98 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004721, allocations: 0 / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.004724, allocations: 0 / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004725, allocations: 4 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.004726, allocations: 0 / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.8e-05/0.004764, allocations: 68.33 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.004772, allocations: 7.953 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.004779, allocations: 3.984 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.004788, allocations: 240 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.004791, allocations: 4 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.004794, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.55e-05/0.004829, allocations: 131.2 kB / 278.8 MB, free: 11.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004829, allocations: 3.938 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.004958, allocations: 0 / 278.8 MB, free: 11.43 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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 6.964e-05/0.005028, allocations: 107.2 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.813e-05/0.005066, allocations: 4 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005067, allocations: 0 / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.005067, allocations: 0 / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.005214, allocations: 25.03 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.005393, allocations: 113.2 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.729e-05/0.005421, allocations: 59.34 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.659e-06/0.005425, allocations: 0 / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.005456, allocations: 70.2 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005456, allocations: 4 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.001419/0.006875, allocations: 304.8 kB / 279.5 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.7206357498653233]