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.0007698/0.0007698, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0008341/0.0008341, allocations: 212.1 kB / 23 MB, free: 2.98 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.9186/0.9186, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7652/0.7652, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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.0007446/0.0007446, allocations: 63.09 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4566, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001767/0.4584, allocations: 1.6 MB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.459, allocations: 0.5781 MB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.4591, allocations: 3.5 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.845e-05/0.4592, allocations: 10.69 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.543e-05/0.4592, allocations: 24.19 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.4595, allocations: 59.03 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.4596, allocations: 84.16 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.4597, allocations: 37.5 kB / 0.8213 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.4598, allocations: 40.92 kB / 0.8214 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.4599, allocations: 43.56 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4599, allocations: 5.906 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.46, allocations: 22.36 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.46, allocations: 20.77 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.46, allocations: 33.94 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.4602, allocations: 97.95 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4602, allocations: 2.875 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4602, allocations: 3.938 kB / 0.8216 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4602, allocations: 0 / 0.8216 GB, free: 15.63 MB / 0.6198 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.0003967/0.4606, allocations: 335.6 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.4606, allocations: 10.94 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.4608, allocations: 40.8 kB / 0.822 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.461, allocations: 140.5 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.461, allocations: 7.812 kB / 0.8221 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.461, allocations: 8.141 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.4612, allocations: 117.8 kB / 0.8222 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.4612, allocations: 0 / 0.8222 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4612, allocations: 1.562 kB / 0.8222 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4612, allocations: 1.562 kB / 0.8222 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.4613, allocations: 104.2 kB / 0.8223 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.4617, allocations: 309 kB / 0.8226 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.4618, allocations: 59.59 kB / 0.8227 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.4619, allocations: 46.08 kB / 0.8227 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4619, allocations: 5.031 kB / 0.8227 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.4619, allocations: 32.34 kB / 0.8228 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4619, allocations: 0 / 0.8228 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002854/0.4622, allocations: 166.7 kB / 0.8229 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4623, allocations: 56.38 kB / 0.823 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.4623, allocations: 144.4 kB / 0.8231 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4624, allocations: 33.64 kB / 0.8232 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.4624, allocations: 112.4 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.4624, allocations: 22.11 kB / 0.8233 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.4624, allocations: 23.08 kB / 0.8233 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.4625, allocations: 320.1 kB / 0.8236 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.326e-05/0.4626, allocations: 39.42 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.4626, allocations: 39.41 kB / 0.8237 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4628, allocations: 85.89 kB / 0.8238 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4628, allocations: 0 / 0.8238 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.4629, allocations: 131.9 kB / 0.8239 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.463, allocations: 5.75 kB / 0.8239 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.463, allocations: 3.938 kB / 0.8239 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.463, allocations: 1.875 kB / 0.8239 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.463, allocations: 16.83 kB / 0.8239 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4631, allocations: 0.9688 kB / 0.8239 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.4631, allocations: 12.5 kB / 0.8239 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4631, allocations: 8.188 kB / 0.8239 GB, free: 13.88 MB / 0.6198 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.941e-05/0.4632, allocations: 117.5 kB / 0.8241 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.4632, allocations: 8.109 kB / 0.8241 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.4634, allocations: 157.8 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4634, allocations: 1.625 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4634, allocations: 0.9844 kB / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4634, allocations: 0 / 0.8242 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.4635, allocations: 137.9 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4635, allocations: 4 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.4636, allocations: 17.7 kB / 0.8244 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4636, allocations: 2.625 kB / 0.8244 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4636, allocations: 1.094 kB / 0.8244 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4636, allocations: 3.938 kB / 0.8244 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4636, allocations: 6.719 kB / 0.8244 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4638, allocations: 223.9 kB / 0.8246 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.4638, allocations: 7.391 kB / 0.8246 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.4638, allocations: 5.953 kB / 0.8246 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.4638, allocations: 15.31 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.4639, allocations: 6.203 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4639, allocations: 3.5 kB / 0.8246 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002091/0.4641, allocations: 112.4 kB / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4641, allocations: 0 / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001578/0.4643, allocations: 21.91 kB / 0.8248 GB, free: 13.26 MB / 0.6198 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 0.0001048/0.4644, allocations: 98.52 kB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.4646, allocations: 106 kB / 0.825 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4646, allocations: 0 / 0.825 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.4646, allocations: 47.25 kB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.4648, allocations: 10.66 kB / 0.825 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.4651, allocations: 253.6 kB / 0.8252 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.769e-05/0.4652, allocations: 96.94 kB / 0.8253 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.4652, allocations: 14.91 kB / 0.8254 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4652, allocations: 0 / 0.8254 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.002257/0.4675, allocations: 1.22 MB / 0.8265 GB, free: 12.73 MB / 0.6198 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.725069100037217] Failed to read output from testmodel.py, exit status != 0: 0.4727421822026372 0.48235691699999994 0.020099537 Calling exit ...