Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001841/0.001841, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.776/1.776, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001586/0.001586, allocations: 121 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1989/0.1989, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.905e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.4925, allocations: 84.98 MB / 0.5275 GB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001558/0.4927, allocations: 73.95 kB / 0.5275 GB, free: 6.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.505, allocations: 5.542 MB / 0.5329 GB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5051, allocations: 0 / 0.5329 GB, free: 1.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.5051, allocations: 8 kB / 0.533 GB, free: 1.844 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007964/0.5059, allocations: 0.5914 MB / 0.5335 GB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5059, allocations: 16.03 kB / 0.5335 GB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.506, allocations: 39.53 kB / 0.5336 GB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.5063, allocations: 282.3 kB / 0.5339 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.5063, allocations: 27.66 kB / 0.5339 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.479e-05/0.5064, allocations: 37.72 kB / 0.5339 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.5069, allocations: 319.5 kB / 0.5342 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5069, allocations: 3.938 kB / 0.5342 GB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.5069, allocations: 18.27 kB / 0.5342 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.5069, allocations: 8 kB / 0.5342 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.5073, allocations: 265 kB / 0.5345 GB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.5092, allocations: 1.352 MB / 0.5358 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.5097, allocations: 260 kB / 0.5361 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.5099, allocations: 149.8 kB / 0.5362 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.5099, allocations: 4.281 kB / 0.5362 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.5099, allocations: 38.22 kB / 0.5363 GB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.51, allocations: 0 / 0.5363 GB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004934/0.5105, allocations: 265.6 kB / 0.5365 GB, free: 14.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.5105, allocations: 51.41 kB / 0.5366 GB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.5107, allocations: 235.6 kB / 0.5368 GB, free: 14.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5108, allocations: 29.27 kB / 0.5368 GB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5109, allocations: 205.3 kB / 0.537 GB, free: 14.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.511, allocations: 120.1 kB / 0.5371 GB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.511, allocations: 10.25 kB / 0.5371 GB, free: 14.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5112, allocations: 337.6 kB / 0.5375 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.5113, allocations: 87.06 kB / 0.5375 GB, free: 13.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5115, allocations: 155.7 kB / 0.5377 GB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.5117, allocations: 115.9 kB / 0.5378 GB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5118, allocations: 0 / 0.5378 GB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005027/0.5123, allocations: 328.7 kB / 0.5381 GB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5123, allocations: 8.031 kB / 0.5381 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5123, allocations: 4 kB / 0.5381 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.5123, allocations: 7.938 kB / 0.5381 GB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.5128, allocations: 103.7 kB / 0.5382 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5128, allocations: 7.953 kB / 0.5382 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.5131, allocations: 42.83 kB / 0.5383 GB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.5131, allocations: 15.3 kB / 0.5383 GB, free: 13.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5133, allocations: 135.5 kB / 0.5384 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.5133, allocations: 27.62 kB / 0.5384 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.5139, allocations: 299 kB / 0.5387 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5139, allocations: 4 kB / 0.5387 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.5139, allocations: 4 kB / 0.5387 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.514, allocations: 3.953 kB / 0.5387 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.5145, allocations: 413.7 kB / 0.5391 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5145, allocations: 0 / 0.5391 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.5149, allocations: 91.56 kB / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5149, allocations: 0 / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.515, allocations: 7.625 kB / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.515, allocations: 0 / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.515, allocations: 0 / 0.5392 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.5156, allocations: 485.3 kB / 0.5397 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.5158, allocations: 127.1 kB / 0.5398 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.5158, allocations: 11.81 kB / 0.5398 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.516, allocations: 19.11 kB / 0.5398 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.5161, allocations: 19.91 kB / 0.5399 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5161, allocations: 15.38 kB / 0.5399 GB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.5163, allocations: 184.6 kB / 0.5401 GB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5163, allocations: 0 / 0.5401 GB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5167, allocations: 97.44 kB / 0.5401 GB, free: 11.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001511/0.5168, allocations: 114.2 kB / 0.5403 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.5173, allocations: 247 kB / 0.5405 GB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5173, allocations: 0 / 0.5405 GB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.5175, allocations: 123.9 kB / 0.5406 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.5178, allocations: 22.75 kB / 0.5406 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.519, allocations: 0.5356 MB / 0.5412 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5194, allocations: 0.7952 MB / 0.5419 GB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.5196, allocations: 34.95 kB / 0.542 GB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.72e-05/0.5197, allocations: 27.42 kB / 0.542 GB, free: 9.723 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5197, allocations: 4 kB / 0.542 GB, free: 9.719 MB / 362.7 MB Notification: Performance of Templates: time 0.005563/0.5253, allocations: 2.369 MB / 0.5443 GB, free: 7.371 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1)