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.001122/0.001122, allocations: 81.81 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.001146/0.001146, allocations: 164.5 kB / 24.82 MB, free: 9.281 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.9958/0.9958, allocations: 177 MB / 205.1 MB, free: 5.473 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 1.694e-06/1.694e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.863e-05, allocations: 2.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002336/0.002354, allocations: 1.528 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002772/0.002632, allocations: 99.59 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.002696, allocations: 4 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.002722, allocations: 3.938 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.002774, allocations: 7.875 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.002992, allocations: 23.97 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.222e-05/0.003064, allocations: 27.92 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.003148, allocations: 4 kB / 275 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.003203, allocations: 15.97 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.003242, allocations: 11.94 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.003258, allocations: 0 / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.146e-06/0.003266, allocations: 4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.003284, allocations: 3.984 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.003307, allocations: 15.94 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.171e-05/0.003378, allocations: 23.84 kB / 275.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003381, allocations: 4 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.003382, allocations: 0 / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.003387, allocations: 0 / 275.1 MB, free: 15.43 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.000312/0.003699, allocations: 360.6 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.003738, allocations: 11.98 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.003763, allocations: 8.891 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.00388, allocations: 124.6 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.003887, allocations: 4.375 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.003895, allocations: 4.375 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.004047, allocations: 98.23 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.004052, allocations: 192 / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.004058, allocations: 384 / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004062, allocations: 384 / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.004081, allocations: 11.88 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.076e-05/0.004162, allocations: 109.2 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.00422, allocations: 39.09 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.004242, allocations: 19.66 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.00426, allocations: 4 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.004281, allocations: 37.39 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.004282, allocations: 0 / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001035/0.004385, allocations: 49.81 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.004416, allocations: 55.41 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.004499, allocations: 165.9 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.00451, allocations: 25.7 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.004549, allocations: 130.9 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.004551, allocations: 4 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.004568, allocations: 15.38 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.00469, allocations: 0.4961 MB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-06/0.004693, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.004697, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.004726, allocations: 119.2 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/0.004752, allocations: 119.2 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.311e-05/0.004786, allocations: 37.62 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.004822, allocations: 126.3 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.004856, allocations: 127.2 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.525e-05/0.004922, allocations: 242.3 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.718e-05/0.004949, allocations: 123.2 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/0.005011, allocations: 246.3 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.005061, allocations: 123.4 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.005096, allocations: 123.1 kB / 278.2 MB, free: 12.12 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.5e-05/0.005191, allocations: 271.8 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.005236, allocations: 53.58 kB / 278.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.005265, allocations: 12 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.005266, allocations: 4 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005267, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00527, allocations: 0 / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.633e-05/0.005327, allocations: 105.1 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.00533, allocations: 3.984 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.005379, allocations: 4 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.005382, allocations: 4 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005386, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005387, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005388, allocations: 3.938 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.123e-05/0.005439, allocations: 68.33 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.005447, allocations: 7.938 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.005454, allocations: 4 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.005464, allocations: 4 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.005467, allocations: 0 / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.005472, allocations: 4 kB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.745e-05/0.00551, allocations: 127.2 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00551, allocations: 0 / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001322/0.005642, allocations: 4 kB / 278.9 MB, free: 11.38 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.827e-05/0.00572, allocations: 99.23 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.942e-05/0.005759, allocations: 4 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.005761, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.005761, allocations: 0 / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.005919, allocations: 25 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.006119, allocations: 121.2 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.006154, allocations: 55.36 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.961e-06/0.00616, allocations: 0 / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.0062, allocations: 70.2 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0062, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of Templates: time 0.0017/0.007901, allocations: 313 kB / 279.6 MB, free: 10.65 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.738778323866427]