Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002488/0.002488, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 207.6 MB / 232.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2996/0.2996, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 78.23 kB / 482 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.452, allocations: 62.87 MB / 0.5321 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.00324/0.4552, allocations: 1.586 MB / 0.5337 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4563, allocations: 0.5407 MB / 0.5342 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.4563, allocations: 5.406 kB / 0.5342 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.4565, allocations: 12.08 kB / 0.5342 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.4565, allocations: 14.56 kB / 0.5342 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.4568, allocations: 45.34 kB / 0.5343 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.4569, allocations: 81.28 kB / 0.5344 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.4571, allocations: 30.22 kB / 0.5344 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.4572, allocations: 37.97 kB / 0.5344 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.4573, allocations: 39.94 kB / 0.5345 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.4573, allocations: 6.844 kB / 0.5345 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.4574, allocations: 15.64 kB / 0.5345 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.4575, allocations: 21.47 kB / 0.5345 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.4575, allocations: 40.48 kB / 0.5346 GB, free: 6.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.4577, allocations: 94.53 kB / 0.5346 GB, free: 6.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4577, allocations: 4.594 kB / 0.5346 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4577, allocations: 0 / 0.5346 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.4577, allocations: 1.219 kB / 0.5346 GB, free: 6.141 MB / 398.1 MB 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.0004957/0.4582, allocations: 326.2 kB / 0.535 GB, free: 5.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4583, allocations: 9.344 kB / 0.535 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.4583, allocations: 19.19 kB / 0.535 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4585, allocations: 129 kB / 0.5351 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4585, allocations: 6.781 kB / 0.5351 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4585, allocations: 13.05 kB / 0.5351 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.4588, allocations: 108.7 kB / 0.5352 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4588, allocations: 0.7031 kB / 0.5352 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4588, allocations: 5.562 kB / 0.5352 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4588, allocations: 1.531 kB / 0.5352 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.4591, allocations: 96.12 kB / 0.5353 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.4596, allocations: 348.1 kB / 0.5357 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.4598, allocations: 54.98 kB / 0.5357 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4599, allocations: 47.52 kB / 0.5358 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.46, allocations: 12.55 kB / 0.5358 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.46, allocations: 32.53 kB / 0.5358 GB, free: 5.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.46, allocations: 0 / 0.5358 GB, free: 5.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.000503/0.4605, allocations: 169.5 kB / 0.536 GB, free: 5.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4605, allocations: 56.94 kB / 0.536 GB, free: 5.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.4606, allocations: 133.8 kB / 0.5361 GB, free: 4.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.4606, allocations: 30.3 kB / 0.5362 GB, free: 4.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.4607, allocations: 100.2 kB / 0.5363 GB, free: 4.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.4607, allocations: 23.02 kB / 0.5363 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.4607, allocations: 21.98 kB / 0.5363 GB, free: 4.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.4608, allocations: 324.9 kB / 0.5366 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.4609, allocations: 41.78 kB / 0.5367 GB, free: 4.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.461, allocations: 38.62 kB / 0.5367 GB, free: 4.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.4613, allocations: 92.42 kB / 0.5368 GB, free: 4.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4613, allocations: 0 / 0.5368 GB, free: 4.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002819/0.4615, allocations: 128.2 kB / 0.5369 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4616, allocations: 13.34 kB / 0.5369 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4616, allocations: 0 / 0.5369 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4616, allocations: 0.6094 kB / 0.5369 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4617, allocations: 18.39 kB / 0.5369 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4617, allocations: 1.094 kB / 0.5369 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.4618, allocations: 7.844 kB / 0.537 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.4619, allocations: 2.953 kB / 0.537 GB, free: 4.375 MB / 398.1 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 (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 8.358e-05/0.4619, allocations: 121.6 kB / 0.5371 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.462, allocations: 16.3 kB / 0.5371 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.4624, allocations: 145.2 kB / 0.5372 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4624, allocations: 0.7969 kB / 0.5372 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4624, allocations: 1.188 kB / 0.5372 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4624, allocations: 0.5625 kB / 0.5372 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.4626, allocations: 182.9 kB / 0.5374 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4626, allocations: 0 / 0.5374 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4627, allocations: 17.86 kB / 0.5374 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4627, allocations: 9.25 kB / 0.5374 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.4627, allocations: 2.969 kB / 0.5374 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4627, allocations: 4.125 kB / 0.5374 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4627, allocations: 0 / 0.5374 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.463, allocations: 220.2 kB / 0.5376 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.463, allocations: 12.03 kB / 0.5377 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.463, allocations: 9.062 kB / 0.5377 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4632, allocations: 7.062 kB / 0.5377 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4632, allocations: 5.297 kB / 0.5377 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4632, allocations: 4.672 kB / 0.5377 GB, free: 3.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.4633, allocations: 109.4 kB / 0.5378 GB, free: 3.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4633, allocations: 0 / 0.5378 GB, free: 3.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.4635, allocations: 18.36 kB / 0.5378 GB, free: 3.723 MB / 398.1 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 (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.000124/0.4636, allocations: 98.03 kB / 0.5379 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.4639, allocations: 106 kB / 0.538 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.464, allocations: 0 / 0.538 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4641, allocations: 47.52 kB / 0.538 GB, free: 3.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.4643, allocations: 6.062 kB / 0.538 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.4648, allocations: 227.8 kB / 0.5383 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.465, allocations: 0.7066 MB / 0.539 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.4651, allocations: 13.3 kB / 0.539 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4651, allocations: 16.05 kB / 0.539 GB, free: 2.703 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4651, allocations: 1.062 kB / 0.539 GB, free: 2.703 MB / 398.1 MB Notification: Performance of Templates: time 0.004148/0.4693, allocations: 0.744 MB / 0.5397 GB, free: 2.613 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6340401340276] Failed to read output from testmodel.py, exit status != 0: 0.4786610035225749 0.49268400999999995 0.031820912 Calling exit ...