Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.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.001293/0.001293, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 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.00139/0.00139, allocations: 193.3 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3026/0.3026, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 78.39 kB / 482.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4998, allocations: 62.87 MB / 0.5322 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.003111/0.5029, allocations: 0.546 MB / 0.5327 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.5034, allocations: 60.17 kB / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.5034, allocations: 0 / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.5034, allocations: 0 / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-06/0.5034, allocations: 1 kB / 0.5328 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.5038, allocations: 10.95 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.5038, allocations: 1.062 kB / 0.5328 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.5039, allocations: 9.781 kB / 0.5328 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.5039, allocations: 5.047 kB / 0.5328 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.504, allocations: 1.906 kB / 0.5328 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.504, allocations: 0 / 0.5328 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.5041, allocations: 19.95 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.5041, allocations: 0 / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.5042, allocations: 1.25 kB / 0.5328 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.5043, allocations: 18.58 kB / 0.5328 GB, free: 7.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5043, allocations: 4 kB / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5043, allocations: 0 / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.5043, allocations: 1.188 kB / 0.5328 GB, free: 7.547 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000328/0.5046, allocations: 232.9 kB / 0.533 GB, free: 7.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.5047, allocations: 9.406 kB / 0.5331 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.505, allocations: 30.7 kB / 0.5331 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5051, allocations: 112.3 kB / 0.5332 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.5052, allocations: 4.375 kB / 0.5332 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.5052, allocations: 1.5 kB / 0.5332 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.5054, allocations: 38.3 kB / 0.5332 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.5054, allocations: 0 / 0.5332 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5054, allocations: 0 / 0.5332 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5054, allocations: 1.125 kB / 0.5332 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.5055, allocations: 13.08 kB / 0.5332 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.5057, allocations: 120.4 kB / 0.5334 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5058, allocations: 24.12 kB / 0.5334 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/0.5059, allocations: 11.38 kB / 0.5334 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5059, allocations: 3.938 kB / 0.5334 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.506, allocations: 31.59 kB / 0.5334 GB, free: 6.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.506, allocations: 0 / 0.5334 GB, free: 6.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0003363/0.5063, allocations: 55.77 kB / 0.5335 GB, free: 6.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5063, allocations: 52.02 kB / 0.5335 GB, free: 6.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.5064, allocations: 90.98 kB / 0.5336 GB, free: 6.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5064, allocations: 29.7 kB / 0.5337 GB, free: 6.641 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.5064, allocations: 80.84 kB / 0.5337 GB, free: 6.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.5065, allocations: 5.047 kB / 0.5337 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.5065, allocations: 12.84 kB / 0.5337 GB, free: 6.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.5066, allocations: 319.6 kB / 0.534 GB, free: 6.219 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.5066, allocations: 5.703 kB / 0.5341 GB, free: 6.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.521e-05/0.5067, allocations: 4.219 kB / 0.5341 GB, free: 6.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5068, allocations: 15.5 kB / 0.5341 GB, free: 6.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5068, allocations: 1.062 kB / 0.5341 GB, free: 6.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001387/0.5069, allocations: 55.38 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.507, allocations: 5.312 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.507, allocations: 0.75 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.507, allocations: 1.906 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.5071, allocations: 4.234 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5071, allocations: 0 / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.5071, allocations: 2.422 kB / 0.5341 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5071, allocations: 2.328 kB / 0.5341 GB, free: 6.164 MB / 398.1 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 (1): * Single equations (assignments): 1 * 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 7.363e-05/0.5072, allocations: 105.8 kB / 0.5342 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.5072, allocations: 14.12 kB / 0.5343 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.5073, allocations: 3 kB / 0.5343 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5073, allocations: 2.172 kB / 0.5343 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5073, allocations: 0 / 0.5343 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5073, allocations: 4 kB / 0.5343 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.5074, allocations: 120.8 kB / 0.5344 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5074, allocations: 3.938 kB / 0.5344 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.5074, allocations: 8.391 kB / 0.5344 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5074, allocations: 1.469 kB / 0.5344 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5074, allocations: 4.703 kB / 0.5344 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5074, allocations: 0 / 0.5344 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5074, allocations: 1.375 kB / 0.5344 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.5076, allocations: 65.75 kB / 0.5345 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.5076, allocations: 7.938 kB / 0.5345 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5076, allocations: 2.078 kB / 0.5345 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.5076, allocations: 2.094 kB / 0.5345 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.5077, allocations: 4.688 kB / 0.5345 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.5077, allocations: 2.125 kB / 0.5345 GB, free: 5.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.887e-05/0.5077, allocations: 75.28 kB / 0.5346 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5077, allocations: 0 / 0.5346 GB, free: 5.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.5079, allocations: 1.469 kB / 0.5346 GB, free: 5.715 MB / 398.1 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 (1): * Single equations (assignments): 1 * 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.0001373/0.508, allocations: 93.14 kB / 0.5346 GB, free: 5.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.5082, allocations: 20.61 kB / 0.5347 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5082, allocations: 0 / 0.5347 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.5083, allocations: 6.562 kB / 0.5347 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.5084, allocations: 1.953 kB / 0.5347 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.5087, allocations: 93.3 kB / 0.5348 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.5089, allocations: 0.6709 MB / 0.5354 GB, free: 4.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.315e-05/0.5089, allocations: 10.89 kB / 0.5354 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.509, allocations: 8.188 kB / 0.5354 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.509, allocations: 1.344 kB / 0.5354 GB, free: 4.801 MB / 398.1 MB Notification: Performance of Templates: time 0.003413/0.5124, allocations: 225.5 kB / 0.5356 GB, free: 4.75 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.542178446426988] Failed to read output from testmodel.py, exit status != 0: 0.5232748677954078 0.54207445 0.033787259 Calling exit ...