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.001432/0.001432, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001696/0.001696, allocations: 163 kB / 25.61 MB, free: 8.582 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 0.9673/0.9673, allocations: 177 MB / 205.9 MB, free: 4.406 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.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.693e-06/1.693e-06, allocations: 0 / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.503e-05, allocations: 2.312 kB / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003489/0.003514, allocations: 1.512 MB / 275.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002256/0.003739, allocations: 37.31 kB / 275.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.003809, allocations: 0 / 275.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.00384, allocations: 3.938 kB / 275.7 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.003896, allocations: 10.59 kB / 275.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.004171, allocations: 27.91 kB / 275.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.004261, allocations: 27.92 kB / 275.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.00436, allocations: 4 kB / 275.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.00442, allocations: 15.98 kB / 275.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.004467, allocations: 15.91 kB / 275.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004489, allocations: 4 kB / 275.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.235e-06/0.004497, allocations: 0.9375 kB / 275.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.004518, allocations: 8 kB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.004547, allocations: 11.94 kB / 275.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.932e-05/0.004636, allocations: 16.56 kB / 275.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.004639, allocations: 1.812 kB / 275.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00464, allocations: 0 / 275.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004644, allocations: 0 / 275.8 MB, free: 2.566 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.0003773/0.005022, allocations: 372.6 kB / 276.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.00506, allocations: 8.031 kB / 276.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.005096, allocations: 9.609 kB / 276.2 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.005255, allocations: 129.4 kB / 276.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.005273, allocations: 384 / 276.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.005283, allocations: 4.375 kB / 276.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.005499, allocations: 103.6 kB / 276.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005506, allocations: 0.9375 kB / 276.4 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.005513, allocations: 4.375 kB / 276.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.005519, allocations: 4.375 kB / 276.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.005548, allocations: 11.92 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.981e-05/0.005648, allocations: 101.1 kB / 276.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.005721, allocations: 39.05 kB / 276.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.005753, allocations: 15.72 kB / 276.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.00576, allocations: 4 kB / 276.6 MB, free: 1.656 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.005785, allocations: 33.39 kB / 276.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.005786, allocations: 0 / 276.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000146/0.005932, allocations: 57.62 kB / 276.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.005978, allocations: 55.39 kB / 276.8 MB, free: 1.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.006065, allocations: 161.9 kB / 276.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006077, allocations: 29.7 kB / 276.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.006124, allocations: 134.9 kB / 277.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.006134, allocations: 0 / 277.1 MB, free: 1.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.006163, allocations: 19.38 kB / 277.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.006304, allocations: 0.4883 MB / 277.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-06/0.006311, allocations: 4 kB / 277.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.006316, allocations: 0 / 277.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.379e-05/0.00634, allocations: 11.94 kB / 277.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.006342, allocations: 0 / 277.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.647e-05/0.006408, allocations: 53.64 kB / 277.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.006421, allocations: 4 kB / 277.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006425, allocations: 0 / 277.7 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006436, allocations: 4 kB / 277.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.006477, allocations: 4 kB / 277.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.00648, allocations: 0 / 277.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.006495, allocations: 7.938 kB / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006499, allocations: 3.938 kB / 277.7 MB, free: 0.5078 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 7.626e-05/0.006575, allocations: 152.6 kB / 277.8 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.006642, allocations: 53.8 kB / 277.9 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.006666, allocations: 8.031 kB / 277.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006668, allocations: 0 / 277.9 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.00667, allocations: 4 kB / 277.9 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.006673, allocations: 3.984 kB / 277.9 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.304e-05/0.006746, allocations: 97.2 kB / 278 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006748, allocations: 0 / 278 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.006809, allocations: 7.984 kB / 278 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.006813, allocations: 4 kB / 278 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.006821, allocations: 4 kB / 278 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006822, allocations: 0 / 278 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006824, allocations: 0 / 278 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.743e-05/0.006881, allocations: 72.39 kB / 278.1 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.006892, allocations: 7.938 kB / 278.1 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.006906, allocations: 4 kB / 278.1 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.691e-05/0.006932, allocations: 3.984 kB / 278.1 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.006935, allocations: 0 / 278.1 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006941, allocations: 4 kB / 278.1 MB, free: 20 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.342e-05/0.007004, allocations: 131.1 kB / 278.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007004, allocations: 0 / 278.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.007198, allocations: 4 kB / 278.2 MB, free: 15.89 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: 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.0001023/0.0073, allocations: 99.23 kB / 278.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.194e-05/0.007382, allocations: 15.69 kB / 278.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007384, allocations: 0 / 278.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.007385, allocations: 0 / 278.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.007626, allocations: 25.55 kB / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.007878, allocations: 116.9 kB / 278.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.007917, allocations: 63.2 kB / 278.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.847e-05/0.007935, allocations: 4 kB / 278.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.007987, allocations: 74.14 kB / 278.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.007988, allocations: 4.062 kB / 278.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Templates: time 0.002571/0.01056, allocations: 473.2 kB / 279.1 MB, free: 14.98 MB / 266.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 -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.8837730060331523]