Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001155/0.001155, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001645/0.001645, allocations: 165 kB / 23.27 MB, free: 1.219 MB / 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 0.9616/0.9616, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8359/0.8359, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) 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(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5212 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.828e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001121/0.001139, allocations: 0.5981 MB / 0.5218 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002114/0.001351, allocations: 46.19 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.001366, allocations: 0 / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.001381, allocations: 0 / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.762e-06/0.001388, allocations: 0.5625 kB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.00161, allocations: 12.64 kB / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5e-05/0.00166, allocations: 7.984 kB / 0.5218 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.001698, allocations: 5.984 kB / 0.5218 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.001724, allocations: 3.984 kB / 0.5218 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.634e-05/0.00175, allocations: 4 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.001762, allocations: 0.625 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.001854, allocations: 15.98 kB / 0.5219 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.001867, allocations: 2.688 kB / 0.5219 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-06/0.001876, allocations: 0 / 0.5219 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.634e-05/0.001953, allocations: 23.91 kB / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.001954, allocations: 0 / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001955, allocations: 0.5469 kB / 0.5219 GB, free: 0.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.001959, allocations: 1.719 kB / 0.5219 GB, free: 0.75 MB / 490.7 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.000227/0.002186, allocations: 336.4 kB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.00222, allocations: 12.03 kB / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.002393, allocations: 19.27 kB / 0.5222 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.959e-05/0.002452, allocations: 104.6 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.002461, allocations: 384 / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.002467, allocations: 384 / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.002558, allocations: 56.17 kB / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.002565, allocations: 192 / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.00257, allocations: 384 / 0.5224 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.002577, allocations: 5.844 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.00259, allocations: 3.938 kB / 0.5224 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.658e-05/0.002677, allocations: 93.2 kB / 0.5225 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.005e-05/0.002717, allocations: 32.42 kB / 0.5225 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.00273, allocations: 7.688 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.002744, allocations: 0 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.002766, allocations: 48.89 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.002767, allocations: 0 / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001/0.002867, allocations: 29.7 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.002895, allocations: 55.41 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.663e-05/0.002931, allocations: 146.2 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.00294, allocations: 25.7 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.5e-05/0.002965, allocations: 130.9 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.002991, allocations: 3.938 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.003014, allocations: 15.94 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.003126, allocations: 0.4889 MB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.003135, allocations: 0 / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.003141, allocations: 0.9688 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.00317, allocations: 17.09 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.003171, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.407e-05/0.003215, allocations: 33.69 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.003226, allocations: 9.531 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.003231, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.505e-06/0.003238, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.003285, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.003288, allocations: 2.438 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.0033, allocations: 4 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.003305, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB 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 5.989e-05/0.003364, allocations: 168.5 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.00337, allocations: 4.344 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.003395, allocations: 5.75 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.003398, allocations: 7.922 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.003399, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.003401, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.185e-05/0.003453, allocations: 93.2 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.003454, allocations: 0 / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.003471, allocations: 7.984 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.003474, allocations: 1.219 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.003478, allocations: 3.938 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003478, allocations: 0 / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.00348, allocations: 4 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.857e-05/0.003538, allocations: 69.28 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.003545, allocations: 8.922 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.003551, allocations: 0 / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-06/0.00356, allocations: 0 / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.00357, allocations: 0.6562 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.003572, allocations: 0 / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.003603, allocations: 128.3 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003603, allocations: 3.938 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001092/0.003712, allocations: 0 / 0.524 GB, free: 14.36 MB / 0.4948 GB 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 6.709e-05/0.003779, allocations: 93.69 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.003837, allocations: 15.67 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.003838, allocations: 0 / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.003849, allocations: 14.81 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.029e-05/0.003939, allocations: 3.938 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/0.004084, allocations: 83.98 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.749e-05/0.004111, allocations: 55.34 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.004132, allocations: 7.625 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.004166, allocations: 66.2 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.004167, allocations: 0 / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001508/0.005675, allocations: 285.3 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.705409430898726]