Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 165.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.195e-05, allocations: 2.312 kB / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002843/0.002875, allocations: 1.483 MB / 273.8 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.003174, allocations: 103.6 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.00323, allocations: 0 / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.003261, allocations: 7.922 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.003306, allocations: 3.938 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.003523, allocations: 27.91 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.003599, allocations: 23.94 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.028e-05/0.003679, allocations: 11.98 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.003744, allocations: 15.92 kB / 274 MB, free: 120 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.003781, allocations: 7.984 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003799, allocations: 0 / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.003809, allocations: 4 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.003825, allocations: 4 kB / 274 MB, free: 104 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.003861, allocations: 11.92 kB / 274 MB, free: 92 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.86e-05/0.00395, allocations: 27.91 kB / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003952, allocations: 0 / 274.1 MB, free: 64 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003953, allocations: 3.938 kB / 274.1 MB, free: 60 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003956, allocations: 4 kB / 274.1 MB, free: 56 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.000448/0.004404, allocations: 266.3 kB / 274.3 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.004443, allocations: 12.03 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.004488, allocations: 12.88 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.004695, allocations: 109.7 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.00471, allocations: 8.375 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.004718, allocations: 384 / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.005052, allocations: 107.9 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005061, allocations: 192 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005072, allocations: 4.375 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.005077, allocations: 384 / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.005171, allocations: 23.86 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.005315, allocations: 109.3 kB / 274.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.005482, allocations: 54.62 kB / 274.8 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.00555, allocations: 20.86 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.005583, allocations: 4 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.005619, allocations: 34.55 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.00562, allocations: 0 / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.005877, allocations: 69.61 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.005942, allocations: 55.41 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.006054, allocations: 109.8 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.006075, allocations: 25.7 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.006135, allocations: 84.14 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.006137, allocations: 4 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.006167, allocations: 13.72 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.006349, allocations: 310.8 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.006355, allocations: 0 / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.006361, allocations: 4 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.006403, allocations: 75.28 kB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-05/0.006445, allocations: 75.28 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.057e-05/0.006515, allocations: 33.64 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.006575, allocations: 87.27 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/0.006616, allocations: 75.53 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.306e-05/0.006709, allocations: 154.5 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.006752, allocations: 83.28 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.247e-05/0.006834, allocations: 154.6 kB / 276.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/0.006922, allocations: 83.16 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.006965, allocations: 79.28 kB / 276.4 MB, free: 13.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 0.0001272/0.007093, allocations: 185.1 kB / 276.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.007228, allocations: 73.73 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.007254, allocations: 7.938 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007255, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.007259, allocations: 0 / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.007266, allocations: 7.938 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.859e-05/0.007364, allocations: 105.3 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007367, allocations: 0 / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.007454, allocations: 8 kB / 276.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.007461, allocations: 3.984 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.007468, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.00747, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.007473, allocations: 4 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.007635, allocations: 85.05 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.007647, allocations: 7.891 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.007661, allocations: 8 kB / 276.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.007684, allocations: 3.938 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-06/0.007687, allocations: 0 / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.007695, allocations: 4 kB / 276.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.007758, allocations: 87.27 kB / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007758, allocations: 0 / 276.9 MB, free: 12.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.007974, allocations: 0 / 276.9 MB, free: 12.93 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.0001291/0.008103, allocations: 99.19 kB / 277 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.008189, allocations: 15.98 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008191, allocations: 4 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.008192, allocations: 0 / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.008436, allocations: 21.16 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.008725, allocations: 123.4 kB / 277.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.613e-05/0.008791, allocations: 63.34 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.264e-05/0.008804, allocations: 4 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.008835, allocations: 8.5 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008836, allocations: 0 / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Templates: time 0.002553/0.01139, allocations: 304.4 kB / 277.6 MB, free: 12.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.206623303936794]