Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.0008264/0.0008264, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008266/0.0008266, allocations: 211.7 kB / 23.01 MB, free: 3.113 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 0.8829/0.8829, allocations: 230.6 MB / 256.8 MB, free: 3.477 MB / 202.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-531:190: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-531:198: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.7302/0.7302, allocations: 203.8 MB / 0.5049 GB, free: 0.7422 MB / 410.7 MB " [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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008808/0.0008808, allocations: 61.94 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4321, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002122/0.4342, allocations: 1.628 MB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.435, allocations: 0.6124 MB / 0.8213 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.435, allocations: 5.656 kB / 0.8213 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.491e-05/0.4351, allocations: 15.86 kB / 0.8213 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.4351, allocations: 15.61 kB / 0.8213 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.4354, allocations: 61.25 kB / 0.8214 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.4356, allocations: 88.2 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4357, allocations: 35.97 kB / 0.8215 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4358, allocations: 40.06 kB / 0.8215 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.4359, allocations: 49.84 kB / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.4359, allocations: 6.562 kB / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/0.436, allocations: 18.11 kB / 0.8216 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.436, allocations: 27.59 kB / 0.8216 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.4361, allocations: 40.3 kB / 0.8217 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.4362, allocations: 94.72 kB / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4362, allocations: 3.094 kB / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4362, allocations: 0 / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4362, allocations: 0 / 0.8218 GB, free: 23.46 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00037/0.4366, allocations: 337.6 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4366, allocations: 10.97 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.4368, allocations: 37.72 kB / 0.8221 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.437, allocations: 151.7 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.437, allocations: 6.547 kB / 0.8223 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.437, allocations: 12.16 kB / 0.8223 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4372, allocations: 110.2 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4372, allocations: 0.7969 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4372, allocations: 5.312 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4372, allocations: 1.188 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4374, allocations: 92.66 kB / 0.8225 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.4378, allocations: 353.7 kB / 0.8228 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.4379, allocations: 58.33 kB / 0.8229 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.998e-05/0.4379, allocations: 48.88 kB / 0.8229 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.438, allocations: 2.906 kB / 0.8229 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.438, allocations: 35.5 kB / 0.823 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.438, allocations: 0.7188 kB / 0.823 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003078/0.4383, allocations: 170 kB / 0.8231 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.4383, allocations: 52.78 kB / 0.8232 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.4384, allocations: 146.7 kB / 0.8233 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-06/0.4384, allocations: 26.7 kB / 0.8233 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4384, allocations: 109.1 kB / 0.8234 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.4385, allocations: 24.17 kB / 0.8235 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.4385, allocations: 20.92 kB / 0.8235 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.4385, allocations: 325.2 kB / 0.8238 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.4386, allocations: 38.22 kB / 0.8238 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.4387, allocations: 42.86 kB / 0.8239 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.4388, allocations: 87.36 kB / 0.824 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4388, allocations: 0 / 0.824 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001924/0.439, allocations: 128.8 kB / 0.8241 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.439, allocations: 13.03 kB / 0.8241 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.439, allocations: 4.5 kB / 0.8241 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.439, allocations: 0.5312 kB / 0.8241 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.4391, allocations: 22.52 kB / 0.8241 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4391, allocations: 0.7188 kB / 0.8241 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.4392, allocations: 7.453 kB / 0.8241 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4392, allocations: 3.719 kB / 0.8241 GB, free: 21.68 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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.577e-05/0.4392, allocations: 123.2 kB / 0.8242 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.4393, allocations: 15.62 kB / 0.8243 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.4395, allocations: 142.3 kB / 0.8244 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4395, allocations: 0.7969 kB / 0.8244 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4395, allocations: 1.375 kB / 0.8244 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4395, allocations: 0 / 0.8244 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.4396, allocations: 180.9 kB / 0.8246 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4396, allocations: 1.25 kB / 0.8246 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.4397, allocations: 20.92 kB / 0.8246 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4397, allocations: 4.688 kB / 0.8246 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4397, allocations: 6.859 kB / 0.8246 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4397, allocations: 0.6094 kB / 0.8246 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4397, allocations: 0 / 0.8246 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4399, allocations: 220.3 kB / 0.8248 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.4399, allocations: 11.33 kB / 0.8248 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4399, allocations: 2.188 kB / 0.8248 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.4399, allocations: 16.03 kB / 0.8248 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.44, allocations: 9.969 kB / 0.8249 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.44, allocations: 3.078 kB / 0.8249 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.44, allocations: 109.2 kB / 0.825 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.44, allocations: 0 / 0.825 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001593/0.4402, allocations: 22.02 kB / 0.825 GB, free: 21.03 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 9.901e-05/0.4403, allocations: 102.5 kB / 0.8251 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.4405, allocations: 101.3 kB / 0.8252 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.4405, allocations: 0 / 0.8252 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.4405, allocations: 51.3 kB / 0.8252 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.4407, allocations: 13.77 kB / 0.8252 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.441, allocations: 246.7 kB / 0.8255 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.4411, allocations: 0.7089 MB / 0.8262 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.4412, allocations: 17.52 kB / 0.8262 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4412, allocations: 0 / 0.8262 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.002312/0.4435, allocations: 1.189 MB / 0.8273 GB, free: 19.87 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.42180141992867] Failed to read output from testmodel.py, exit status != 0: 0.4486104832030833 0.458114081 0.02015457 Calling exit ...