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.002256/0.002256, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.002023/0.002023, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 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.548/1.548, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.756e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002904/0.002931, allocations: 1.494 MB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.003248, allocations: 95.67 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.003323, allocations: 4 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.003358, allocations: 3.938 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.003418, allocations: 7.875 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.003685, allocations: 23.97 kB / 273.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.656e-05/0.003771, allocations: 23.92 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.003866, allocations: 8 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.003931, allocations: 19.92 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.003975, allocations: 7.969 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003997, allocations: 4 kB / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.004005, allocations: 0 / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.004023, allocations: 8 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.004056, allocations: 7.938 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.004149, allocations: 27.84 kB / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004152, allocations: 0 / 273.9 MB, free: 68 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004153, allocations: 8 kB / 274 MB, free: 60 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004158, allocations: 0 / 274 MB, free: 60 kB / 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.0005368/0.004695, allocations: 368.2 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.004737, allocations: 11.98 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.004788, allocations: 12.89 kB / 274.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.004988, allocations: 116.6 kB / 274.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004999, allocations: 4.312 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.00501, allocations: 8.375 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.00533, allocations: 101.5 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.005342, allocations: 4.172 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005351, allocations: 4.375 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.005355, allocations: 384 / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.005432, allocations: 19.88 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.005605, allocations: 120.6 kB / 274.7 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.005775, allocations: 55.03 kB / 274.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.005839, allocations: 27.75 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.00586, allocations: 4 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.005894, allocations: 37.39 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005895, allocations: 0 / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002341/0.006129, allocations: 69.61 kB / 274.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.006184, allocations: 51.41 kB / 274.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.006327, allocations: 181.9 kB / 275.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.006349, allocations: 25.7 kB / 275.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.006437, allocations: 130.9 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.00644, allocations: 0 / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.006472, allocations: 23.38 kB / 275.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.006728, allocations: 496.1 kB / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-06/0.006734, allocations: 0 / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.006736, allocations: 0 / 275.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.006801, allocations: 119.2 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-05/0.006865, allocations: 123.2 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.178e-05/0.006927, allocations: 29.64 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.058e-05/0.007007, allocations: 131.2 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.343e-05/0.007071, allocations: 119.2 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.007201, allocations: 242.3 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.007264, allocations: 123.2 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001772/0.007441, allocations: 246.3 kB / 276.9 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.007545, allocations: 127.1 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.007605, allocations: 119.2 kB / 277.1 MB, free: 12.66 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 0.0001684/0.007774, allocations: 275.8 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.007892, allocations: 65.56 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.007924, allocations: 8 kB / 277.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007926, allocations: 3.938 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.007929, allocations: 0 / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.007934, allocations: 3.938 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.008042, allocations: 116.6 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.008045, allocations: 4 kB / 277.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.008118, allocations: 8 kB / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008121, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.008127, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.008129, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00813, allocations: 0 / 277.6 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.008305, allocations: 100.3 kB / 277.7 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.008324, allocations: 11.89 kB / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008336, allocations: 0 / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.008356, allocations: 0 / 277.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-06/0.008359, allocations: 4 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.008364, allocations: 4 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.478e-05/0.008449, allocations: 135.4 kB / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008449, allocations: 0 / 277.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.008651, allocations: 4 kB / 277.9 MB, free: 11.85 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 0.0001319/0.008783, allocations: 99.47 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.765e-05/0.008861, allocations: 8 kB / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008862, allocations: 0 / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.008863, allocations: 0 / 278 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.009098, allocations: 34.23 kB / 278 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.009391, allocations: 125.1 kB / 278.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.009466, allocations: 63.34 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.317e-06/0.009475, allocations: 0 / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.009506, allocations: 12.5 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.9e-07/0.009506, allocations: 0 / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.00277/0.01228, allocations: 302.8 kB / 278.5 MB, free: 11.16 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.440514842048287]