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.0007975/0.0007975, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001921, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007112/0.0007112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001625, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.009/1.009, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09258/1.101, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2934/1.057, allocations: 49.12 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.443e-06/1.443e-06, allocations: 0 / 449.8 MB, free: 4.672 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.389e-05, allocations: 3.953 kB / 449.8 MB, free: 4.668 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001908/0.001932, allocations: 0.6415 MB / 450.4 MB, free: 4.059 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.002082, allocations: 50.09 kB / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.566e-05/0.002098, allocations: 0 / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-06/0.002103, allocations: 0 / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.222e-06/0.002104, allocations: 4 kB / 450.4 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.00224, allocations: 13.84 kB / 450.5 MB, free: 3.996 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.522e-05/0.002305, allocations: 0 / 450.5 MB, free: 3.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.002364, allocations: 5.859 kB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.469e-05/0.002408, allocations: 9.188 kB / 450.5 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.002447, allocations: 0 / 450.5 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.002461, allocations: 0.6562 kB / 450.5 MB, free: 3.984 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.002597, allocations: 23.97 kB / 450.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.002607, allocations: 1.797 kB / 450.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.00262, allocations: 0 / 450.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.002719, allocations: 14.77 kB / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.802e-05/0.002737, allocations: 0 / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.002738, allocations: 0 / 450.5 MB, free: 3.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.002758, allocations: 4 kB / 450.5 MB, free: 3.945 MB / 426.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.0002824/0.003041, allocations: 212.8 kB / 450.7 MB, free: 3.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.003078, allocations: 8.938 kB / 450.7 MB, free: 3.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.003365, allocations: 100.5 kB / 450.8 MB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.00344, allocations: 105.7 kB / 450.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.003453, allocations: 4.375 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.003459, allocations: 384 / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.003584, allocations: 51.77 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003593, allocations: 192 / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.0036, allocations: 1.359 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.003605, allocations: 1.656 kB / 451 MB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.276e-05/0.003628, allocations: 9.344 kB / 451 MB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.346e-05/0.003712, allocations: 61.45 kB / 451.1 MB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.124e-05/0.003753, allocations: 22.55 kB / 451.1 MB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.003766, allocations: 6.234 kB / 451.1 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.003786, allocations: 4.062 kB / 451.1 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.003812, allocations: 34.5 kB / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003813, allocations: 0.625 kB / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001063/0.003919, allocations: 31.34 kB / 451.2 MB, free: 3.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.003959, allocations: 55.41 kB / 451.2 MB, free: 3.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.04e-05/0.003989, allocations: 91.08 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.004001, allocations: 25.7 kB / 451.3 MB, free: 3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.004026, allocations: 91.62 kB / 451.4 MB, free: 2.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.004054, allocations: 3.906 kB / 451.4 MB, free: 2.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.004084, allocations: 9.719 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.004171, allocations: 318.8 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.004185, allocations: 1.031 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.004193, allocations: 0 / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.00423, allocations: 13.92 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004232, allocations: 0.6562 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.882e-05/0.004291, allocations: 34.78 kB / 451.8 MB, free: 2.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.004305, allocations: 8 kB / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004311, allocations: 0 / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.004319, allocations: 1.438 kB / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.004385, allocations: 0 / 451.8 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.004391, allocations: 8.859 kB / 451.8 MB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.004407, allocations: 0.8438 kB / 451.8 MB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004412, allocations: 0 / 451.8 MB, free: 2.504 MB / 426.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 (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.718e-05/0.004469, allocations: 110.9 kB / 451.9 MB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.004476, allocations: 4 kB / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.004501, allocations: 5.5 kB / 451.9 MB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.004503, allocations: 4 kB / 451.9 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.004505, allocations: 4.594 kB / 451.9 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.004508, allocations: 0.9844 kB / 451.9 MB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.142e-05/0.004569, allocations: 72.78 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.004572, allocations: 3.984 kB / 452 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.474e-05/0.004596, allocations: 0 / 452 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.004603, allocations: 7.984 kB / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004604, allocations: 0 / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.004608, allocations: 0 / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.004608, allocations: 0 / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004609, allocations: 0 / 452 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.004683, allocations: 62.61 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.004691, allocations: 0.875 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.004704, allocations: 0 / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.004714, allocations: 1.062 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.004717, allocations: 4 kB / 452.1 MB, free: 2.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.971e-06/0.004723, allocations: 4.859 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.004724, allocations: 0.625 kB / 452.1 MB, free: 2.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.004865, allocations: 4.812 kB / 452.1 MB, free: 2.18 MB / 426.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 (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.0001063/0.004971, allocations: 77.66 kB / 452.2 MB, free: 2.094 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.139e-05/0.005033, allocations: 9.453 kB / 452.2 MB, free: 2.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.005037, allocations: 4.562 kB / 452.2 MB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.005046, allocations: 5.422 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.292e-05/0.005109, allocations: 14.92 kB / 452.2 MB, free: 2.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.005278, allocations: 81.55 kB / 452.3 MB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.00531, allocations: 55.75 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.551e-05/0.005335, allocations: 4.031 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.005371, allocations: 56.27 kB / 452.4 MB, free: 1.824 MB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005372, allocations: 0 / 452.4 MB, free: 1.824 MB / 426.7 MB Notification: Performance of Templates: time 0.001864/0.007236, allocations: 282.1 kB / 452.7 MB, free: 1.559 MB / 426.7 MB " [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.4981385534629226]