Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 143.8 kB / 24.98 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.032/1.032, allocations: 173.3 MB / 201.5 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.691e-05, allocations: 6.25 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.005414/0.005441, allocations: 1.51 MB / 269.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003562/0.005797, allocations: 103.5 kB / 269.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.005883, allocations: 0 / 269.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.005923, allocations: 3.938 kB / 269.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.005983, allocations: 7.984 kB / 269.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.006214, allocations: 27.86 kB / 269.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.006293, allocations: 27.92 kB / 269.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.006383, allocations: 7.984 kB / 269.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.006429, allocations: 11.98 kB / 269.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.006465, allocations: 7.938 kB / 269.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.006486, allocations: 0 / 269.8 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-06/0.006494, allocations: 4 kB / 269.8 MB, free: 5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.00651, allocations: 4 kB / 269.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.00654, allocations: 19.91 kB / 269.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.272e-05/0.006613, allocations: 15.92 kB / 269.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.006615, allocations: 4 kB / 269.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.006618, allocations: 4 kB / 269.8 MB, free: 4.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.006621, allocations: 0 / 269.8 MB, free: 4.953 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.003566/0.01019, allocations: 360.6 kB / 270.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.01023, allocations: 8.922 kB / 270.2 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.01027, allocations: 8.938 kB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.01043, allocations: 124.5 kB / 270.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.01044, allocations: 384 / 270.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.01045, allocations: 8.375 kB / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.01069, allocations: 106.2 kB / 270.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.0107, allocations: 192 / 270.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.01071, allocations: 4.375 kB / 270.4 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01072, allocations: 4.375 kB / 270.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.01075, allocations: 7.938 kB / 270.5 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.01085, allocations: 112.6 kB / 270.6 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.111e-05/0.01093, allocations: 43.08 kB / 270.6 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.01097, allocations: 19.67 kB / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01098, allocations: 7.938 kB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.01101, allocations: 41.39 kB / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.01101, allocations: 0 / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.01116, allocations: 57.62 kB / 270.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.0112, allocations: 59.34 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.01128, allocations: 165.9 kB / 271 MB, free: 3.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.01129, allocations: 29.7 kB / 271 MB, free: 3.625 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.01133, allocations: 126.9 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.01133, allocations: 0 / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.01136, allocations: 19.38 kB / 271.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01148, allocations: 0.4923 MB / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/0.01148, allocations: 0 / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.01149, allocations: 0 / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.01152, allocations: 119.2 kB / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/0.01155, allocations: 123.2 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.775e-05/0.01159, allocations: 25.7 kB / 271.9 MB, free: 2.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.01164, allocations: 130.2 kB / 272 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/0.01167, allocations: 123.1 kB / 272.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-05/0.01173, allocations: 238.4 kB / 272.4 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.212e-05/0.01177, allocations: 127.1 kB / 272.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.383e-05/0.01182, allocations: 242.6 kB / 272.7 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.01189, allocations: 127.1 kB / 272.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.01192, allocations: 135.1 kB / 273 MB, free: 1.594 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: 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.043e-05/0.01201, allocations: 271.8 kB / 273.2 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.01207, allocations: 49.64 kB / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.0121, allocations: 4 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.0121, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01211, allocations: 4 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01211, allocations: 3.938 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.168e-05/0.01217, allocations: 120.6 kB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01217, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.01224, allocations: 8 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01225, allocations: 3.938 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.01225, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01226, allocations: 4 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01226, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.01233, allocations: 92.31 kB / 273.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.01234, allocations: 7.938 kB / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.01235, allocations: 0 / 273.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.01237, allocations: 4 kB / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.01237, allocations: 0 / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.01238, allocations: 0 / 273.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.01241, allocations: 127.2 kB / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01241, allocations: 0 / 273.7 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001978/0.01261, allocations: 8 kB / 273.7 MB, free: 0.8164 MB / 250.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 8.648e-05/0.0127, allocations: 99.17 kB / 273.8 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.098e-05/0.01275, allocations: 11.94 kB / 273.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01275, allocations: 0 / 273.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.01275, allocations: 0 / 273.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003227/0.01598, allocations: 13.12 kB / 273.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.01625, allocations: 121.2 kB / 273.9 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.01628, allocations: 55.36 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.134e-06/0.01629, allocations: 3.953 kB / 274 MB, free: 472 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.01631, allocations: 8.5 kB / 274 MB, free: 464 kB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01631, allocations: 0 / 274 MB, free: 464 kB / 250.7 MB Notification: Performance of Templates: time 0.001847/0.01816, allocations: 306.8 kB / 274.3 MB, free: 160 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.782440311042592]