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.001413/0.001413, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001626/0.001626, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.8023/0.8023, allocations: 154.8 MB / 415.1 MB, free: 480 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.373e-06/1.373e-06, allocations: 0 / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.464e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001252/0.001277, allocations: 0.606 MB / 0.5212 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002265/0.001503, allocations: 40.64 kB / 0.5213 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.001521, allocations: 1 kB / 0.5213 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.001537, allocations: 0 / 0.5213 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.742e-06/0.001544, allocations: 1.484 kB / 0.5213 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.00181, allocations: 19.92 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.31e-05/0.001863, allocations: 1.438 kB / 0.5213 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.001909, allocations: 7.922 kB / 0.5213 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.001937, allocations: 4 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.408e-05/0.001961, allocations: 0.5 kB / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.001974, allocations: 0 / 0.5213 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.526e-05/0.002069, allocations: 25 kB / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.002082, allocations: 0 / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.389e-05/0.002096, allocations: 0 / 0.5213 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.676e-05/0.002183, allocations: 21.03 kB / 0.5213 GB, free: 1.492 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.002185, allocations: 4 kB / 0.5213 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002186, allocations: 0 / 0.5213 GB, free: 1.488 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.002191, allocations: 0.625 kB / 0.5213 GB, free: 1.488 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.0002443/0.002435, allocations: 334 kB / 0.5217 GB, free: 1.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.002473, allocations: 8.031 kB / 0.5217 GB, free: 1.117 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.002689, allocations: 20.91 kB / 0.5217 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.592e-05/0.002755, allocations: 110.4 kB / 0.5218 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.002766, allocations: 4.375 kB / 0.5218 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.002774, allocations: 384 / 0.5218 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.002884, allocations: 46.95 kB / 0.5218 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.00289, allocations: 1.938 kB / 0.5218 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.0029, allocations: 384 / 0.5218 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.002906, allocations: 384 / 0.5218 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.002925, allocations: 3.938 kB / 0.5219 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.964e-05/0.003025, allocations: 113.4 kB / 0.522 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.094e-05/0.003066, allocations: 31 kB / 0.522 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.003085, allocations: 13.19 kB / 0.522 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.003102, allocations: 0 / 0.522 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.003123, allocations: 33.39 kB / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.003124, allocations: 1.344 kB / 0.522 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.003261, allocations: 37.69 kB / 0.5221 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.003292, allocations: 55.34 kB / 0.5221 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.199e-05/0.003334, allocations: 143.8 kB / 0.5223 GB, free: 404 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.003343, allocations: 25.7 kB / 0.5223 GB, free: 372 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.003375, allocations: 130.8 kB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.003409, allocations: 7.938 kB / 0.5224 GB, free: 228 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.003438, allocations: 21.84 kB / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.003592, allocations: 496.1 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.003617, allocations: 0 / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.003628, allocations: 4 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.124e-05/0.003679, allocations: 11.67 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.003681, allocations: 0.5625 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.396e-05/0.003745, allocations: 38.27 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.003761, allocations: 4.875 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.003767, allocations: 0 / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.003783, allocations: 1.531 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.003867, allocations: 11.94 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.003876, allocations: 3.984 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.003892, allocations: 4.281 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.003899, allocations: 0.9375 kB / 0.523 GB, free: 15.61 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 8.398e-05/0.003983, allocations: 156.6 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-06/0.003989, allocations: 1.031 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.00402, allocations: 3 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.004022, allocations: 0.9375 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.004027, allocations: 0 / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.004032, allocations: 7.25 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.699e-05/0.004099, allocations: 116.5 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0041, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.00412, allocations: 4 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004121, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.004127, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004128, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.004129, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.004208, allocations: 83.34 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-06/0.004212, allocations: 3.984 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.00422, allocations: 0 / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.00423, allocations: 4 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.004242, allocations: 3.938 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.004244, allocations: 0 / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.004271, allocations: 119.2 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004271, allocations: 0 / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001185/0.004389, allocations: 4 kB / 0.5235 GB, free: 15.05 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 8.739e-05/0.004477, allocations: 100.7 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.004563, allocations: 16.19 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.004565, allocations: 2.375 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.004574, allocations: 7.688 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.004676, allocations: 6.844 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.00488, allocations: 95.86 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.004909, allocations: 51.36 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.004929, allocations: 2.438 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.004954, allocations: 8.5 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.004955, allocations: 1.875 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.001666/0.00662, allocations: 253.8 kB / 0.524 GB, free: 14.46 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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.959477483993396]