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.001566/0.001566, allocations: 180.4 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.342/1.342, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001672/0.001673, allocations: 116.6 kB / 247.4 MB, free: 6.23 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.2106/0.2106, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.791e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5267, allocations: 84.32 MB / 0.52 GB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.5269, allocations: 70.66 kB / 0.5201 GB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.5396, allocations: 5.486 MB / 0.5255 GB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5396, allocations: 0 / 0.5255 GB, free: 7.898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.882e-05/0.5396, allocations: 11.69 kB / 0.5255 GB, free: 7.895 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.0009108/0.5406, allocations: 0.6077 MB / 0.5261 GB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5406, allocations: 11.53 kB / 0.5261 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.784e-05/0.5407, allocations: 38.72 kB / 0.5261 GB, free: 7.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.541, allocations: 281.4 kB / 0.5264 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.541, allocations: 11.56 kB / 0.5264 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.5411, allocations: 24.25 kB / 0.5264 GB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004079/0.5415, allocations: 243.3 kB / 0.5266 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.542, allocations: 272.2 kB / 0.5269 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.542, allocations: 0 / 0.5269 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.542, allocations: 0 / 0.5269 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.542, allocations: 7.688 kB / 0.5269 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.5439, allocations: 1.26 MB / 0.5281 GB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.5442, allocations: 251.1 kB / 0.5284 GB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.5444, allocations: 134.3 kB / 0.5285 GB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.5444, allocations: 8.094 kB / 0.5285 GB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.5445, allocations: 38.27 kB / 0.5285 GB, free: 6.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.5445, allocations: 3.875 kB / 0.5285 GB, free: 6.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004001/0.5449, allocations: 226.6 kB / 0.5288 GB, free: 6.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.5449, allocations: 63.19 kB / 0.5288 GB, free: 6.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5451, allocations: 190.9 kB / 0.529 GB, free: 5.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.5451, allocations: 29.7 kB / 0.529 GB, free: 5.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.5452, allocations: 206.7 kB / 0.5292 GB, free: 5.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.5453, allocations: 115.6 kB / 0.5293 GB, free: 5.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.5453, allocations: 0 / 0.5293 GB, free: 5.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5455, allocations: 336.9 kB / 0.5297 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.5456, allocations: 85.44 kB / 0.5297 GB, free: 5.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.5458, allocations: 147.5 kB / 0.5299 GB, free: 5.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.546, allocations: 96.94 kB / 0.53 GB, free: 5.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.546, allocations: 0 / 0.53 GB, free: 5.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004043/0.5464, allocations: 304.9 kB / 0.5303 GB, free: 5.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5464, allocations: 3.75 kB / 0.5303 GB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5464, allocations: 3.906 kB / 0.5303 GB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.5465, allocations: 3.844 kB / 0.5303 GB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5469, allocations: 108.6 kB / 0.5304 GB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.5469, allocations: 7.672 kB / 0.5304 GB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.5472, allocations: 35.48 kB / 0.5304 GB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.5472, allocations: 19.39 kB / 0.5304 GB, free: 5.062 MB / 346.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 7.545e-05/0.5473, allocations: 108.9 kB / 0.5305 GB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.5474, allocations: 27.25 kB / 0.5306 GB, free: 4.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.5478, allocations: 274.7 kB / 0.5308 GB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5478, allocations: 4 kB / 0.5308 GB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5478, allocations: 0 / 0.5308 GB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-06/0.5478, allocations: 4 kB / 0.5308 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.5482, allocations: 337.9 kB / 0.5312 GB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5482, allocations: 3.938 kB / 0.5312 GB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.5486, allocations: 91.81 kB / 0.5313 GB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5486, allocations: 4 kB / 0.5313 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.5486, allocations: 3.984 kB / 0.5313 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5487, allocations: 0 / 0.5313 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5487, allocations: 0 / 0.5313 GB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.5492, allocations: 465.5 kB / 0.5317 GB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.5493, allocations: 124.5 kB / 0.5318 GB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.5493, allocations: 0 / 0.5318 GB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5495, allocations: 11.98 kB / 0.5318 GB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.5496, allocations: 15.97 kB / 0.5319 GB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5496, allocations: 11.81 kB / 0.5319 GB, free: 3.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5497, allocations: 159.4 kB / 0.532 GB, free: 3.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5497, allocations: 64 / 0.532 GB, free: 3.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.5501, allocations: 87.69 kB / 0.5321 GB, free: 3.645 MB / 346.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.0001384/0.5502, allocations: 91.25 kB / 0.5322 GB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.5505, allocations: 232.5 kB / 0.5324 GB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5506, allocations: 0 / 0.5324 GB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.5507, allocations: 118.1 kB / 0.5325 GB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.551, allocations: 12.7 kB / 0.5325 GB, free: 3.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.5519, allocations: 0.5274 MB / 0.5331 GB, free: 2.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.5521, allocations: 0.7955 MB / 0.5338 GB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.5523, allocations: 35.27 kB / 0.5339 GB, free: 1.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.5524, allocations: 23.44 kB / 0.5339 GB, free: 1.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5524, allocations: 3.938 kB / 0.5339 GB, free: 1.902 MB / 346.7 MB Notification: Performance of Templates: time 0.004921/0.5573, allocations: 2.117 MB / 0.536 GB, free: 15.82 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)