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.001445/0.001445, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001613/0.001613, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 0.9691/0.9691, allocations: 173.3 MB / 201.1 MB, free: 9.336 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 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.956e-05, allocations: 10.19 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002077/0.002107, allocations: 1.51 MB / 269.5 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.00235, allocations: 99.55 kB / 269.6 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.002409, allocations: 4 kB / 269.6 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.002442, allocations: 7.938 kB / 269.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.002485, allocations: 3.938 kB / 269.6 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.002712, allocations: 27.91 kB / 269.7 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.002787, allocations: 23.92 kB / 269.7 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.002879, allocations: 7.984 kB / 269.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.002922, allocations: 11.98 kB / 269.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.00296, allocations: 11.94 kB / 269.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.002979, allocations: 4 kB / 269.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.002987, allocations: 0 / 269.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.003004, allocations: 7.984 kB / 269.7 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.003032, allocations: 11.94 kB / 269.7 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.845e-05/0.00311, allocations: 23.91 kB / 269.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003112, allocations: 0 / 269.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003113, allocations: 0 / 269.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003117, allocations: 0 / 269.8 MB, free: 4.652 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.0003372/0.003455, allocations: 360.6 kB / 270.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003492, allocations: 12.92 kB / 270.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.003527, allocations: 8.938 kB / 270.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.003661, allocations: 120.5 kB / 270.2 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003671, allocations: 4.375 kB / 270.2 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.003684, allocations: 8.375 kB / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.003895, allocations: 110.2 kB / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.003905, allocations: 192 / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.003913, allocations: 384 / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.00392, allocations: 384 / 270.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.003946, allocations: 7.938 kB / 270.4 MB, free: 3.953 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.004047, allocations: 116.6 kB / 270.5 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.004129, allocations: 46.98 kB / 270.5 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.00416, allocations: 27.64 kB / 270.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.004179, allocations: 0 / 270.6 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.0042, allocations: 37.39 kB / 270.6 MB, free: 3.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.004201, allocations: 0 / 270.6 MB, free: 3.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001333/0.004334, allocations: 53.69 kB / 270.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.00438, allocations: 63.34 kB / 270.7 MB, free: 3.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.004453, allocations: 161.9 kB / 270.9 MB, free: 3.359 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004462, allocations: 29.7 kB / 270.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.004498, allocations: 130.9 kB / 271 MB, free: 3.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-06/0.0045, allocations: 0 / 271 MB, free: 3.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.004517, allocations: 23.36 kB / 271 MB, free: 3.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.004621, allocations: 0.4884 MB / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.004625, allocations: 0 / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.004628, allocations: 0 / 271.5 MB, free: 2.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.004654, allocations: 119.2 kB / 271.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.004678, allocations: 119.2 kB / 271.8 MB, free: 2.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.452e-05/0.004713, allocations: 29.7 kB / 271.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.00475, allocations: 126 kB / 271.9 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/0.004777, allocations: 127.1 kB / 272 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.947e-05/0.004847, allocations: 242.4 kB / 272.3 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.004873, allocations: 127.1 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.543e-05/0.004929, allocations: 238.4 kB / 272.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.004981, allocations: 131.1 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.005008, allocations: 123.4 kB / 272.9 MB, free: 1.297 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 8.381e-05/0.005092, allocations: 275.8 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.005143, allocations: 45.64 kB / 273.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.005175, allocations: 12 kB / 273.2 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.005178, allocations: 4 kB / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005182, allocations: 0 / 273.2 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.005186, allocations: 3.938 kB / 273.2 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.546e-05/0.005242, allocations: 120.6 kB / 273.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.005245, allocations: 0 / 273.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.429e-05/0.005309, allocations: 8 kB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.005312, allocations: 3.938 kB / 273.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.005317, allocations: 0 / 273.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.005321, allocations: 3.984 kB / 273.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005321, allocations: 3.938 kB / 273.4 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.00539, allocations: 88.38 kB / 273.4 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005397, allocations: 3.953 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.005406, allocations: 4 kB / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.005415, allocations: 0 / 273.5 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-06/0.005417, allocations: 4 kB / 273.5 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.005421, allocations: 0 / 273.5 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.005456, allocations: 131.2 kB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005456, allocations: 0 / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.005587, allocations: 4 kB / 273.6 MB, free: 0.5117 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 6.378e-05/0.005651, allocations: 99.19 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.636e-05/0.005697, allocations: 7.938 kB / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005698, allocations: 0 / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.005699, allocations: 0 / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.005862, allocations: 25.14 kB / 273.7 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.006075, allocations: 109.6 kB / 273.8 MB, free: 244 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.006104, allocations: 55.36 kB / 273.9 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.006112, allocations: 7.938 kB / 273.9 MB, free: 160 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.006131, allocations: 8.5 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.006132, allocations: 4 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of Templates: time 0.001924/0.008056, allocations: 302.6 kB / 274.2 MB, free: 15.85 MB / 266.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.8574625346809626]