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.008983/0.008983, allocations: 175.2 kB / 15.12 MB, free: 5.973 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.505/1.505, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001849/0.001849, allocations: 132.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1961/0.1961, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004314, allocations: 9.469 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5888, allocations: 85.08 MB / 0.5333 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5892, allocations: 71 kB / 0.5334 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0164/0.6056, allocations: 5.534 MB / 0.5388 GB, free: 82.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6056, allocations: 0 / 0.5388 GB, free: 82.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.6057, allocations: 7.281 kB / 0.5388 GB, free: 82.21 MB / 378.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.00109/0.6068, allocations: 0.6358 MB / 0.5394 GB, free: 81.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6068, allocations: 9.031 kB / 0.5394 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.6069, allocations: 40.09 kB / 0.5395 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.6073, allocations: 284.2 kB / 0.5397 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.6073, allocations: 26.91 kB / 0.5397 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.6074, allocations: 41.62 kB / 0.5398 GB, free: 81.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.6081, allocations: 347.4 kB / 0.5401 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6081, allocations: 0 / 0.5401 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.6082, allocations: 22.11 kB / 0.5401 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.6082, allocations: 9.75 kB / 0.5401 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.6089, allocations: 310.9 kB / 0.5404 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.6113, allocations: 1.349 MB / 0.5418 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.6119, allocations: 287.4 kB / 0.542 GB, free: 80.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.612, allocations: 3.375 kB / 0.542 GB, free: 80.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.612, allocations: 39.59 kB / 0.5421 GB, free: 80.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.612, allocations: 0 / 0.5421 GB, free: 80.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008363/0.6129, allocations: 396.9 kB / 0.5425 GB, free: 80.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.6129, allocations: 62.09 kB / 0.5425 GB, free: 80.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.6132, allocations: 233 kB / 0.5427 GB, free: 80.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.6132, allocations: 34.39 kB / 0.5428 GB, free: 80 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.6133, allocations: 205.1 kB / 0.543 GB, free: 79.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.6134, allocations: 118.1 kB / 0.5431 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.6134, allocations: 8.188 kB / 0.5431 GB, free: 79.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.6135, allocations: 344.1 kB / 0.5434 GB, free: 79.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.6137, allocations: 110.1 kB / 0.5435 GB, free: 79.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.614, allocations: 172.5 kB / 0.5437 GB, free: 79.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.6143, allocations: 131.3 kB / 0.5438 GB, free: 79.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6143, allocations: 1.281 kB / 0.5438 GB, free: 79.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007553/0.6151, allocations: 370.4 kB / 0.5442 GB, free: 79.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.6151, allocations: 5.188 kB / 0.5442 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6152, allocations: 2.875 kB / 0.5442 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.957e-05/0.6152, allocations: 7.844 kB / 0.5442 GB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.6157, allocations: 108.3 kB / 0.5443 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.6158, allocations: 6.672 kB / 0.5443 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.6161, allocations: 44.73 kB / 0.5443 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.6162, allocations: 17.3 kB / 0.5443 GB, free: 79.16 MB / 378.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 () * Number of clocked 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.0001843/0.6163, allocations: 150.2 kB / 0.5445 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.6164, allocations: 34.47 kB / 0.5445 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.6171, allocations: 330 kB / 0.5448 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6171, allocations: 4.25 kB / 0.5448 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6171, allocations: 0 / 0.5448 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6172, allocations: 8.891 kB / 0.5449 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.6176, allocations: 402.1 kB / 0.5452 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.6177, allocations: 0 / 0.5452 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.6181, allocations: 88.5 kB / 0.5453 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6181, allocations: 1.219 kB / 0.5453 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.6181, allocations: 9.578 kB / 0.5453 GB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6181, allocations: 5.125 kB / 0.5453 GB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6182, allocations: 1.344 kB / 0.5453 GB, free: 78.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.6191, allocations: 0.5306 MB / 0.5459 GB, free: 78.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6192, allocations: 124.1 kB / 0.546 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.6193, allocations: 13.47 kB / 0.546 GB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.6195, allocations: 16.77 kB / 0.546 GB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.6196, allocations: 21.84 kB / 0.546 GB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.6196, allocations: 13.86 kB / 0.546 GB, free: 77.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.6198, allocations: 187.8 kB / 0.5462 GB, free: 77.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6198, allocations: 1.344 kB / 0.5462 GB, free: 77.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.6203, allocations: 96.97 kB / 0.5463 GB, free: 77.77 MB / 378.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 () * Number of clocked 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.000164/0.6205, allocations: 102.7 kB / 0.5464 GB, free: 77.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.6211, allocations: 290.2 kB / 0.5467 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6211, allocations: 1.219 kB / 0.5467 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.6214, allocations: 142.4 kB / 0.5468 GB, free: 77.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.6218, allocations: 25.02 kB / 0.5468 GB, free: 77.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.6233, allocations: 0.9529 MB / 0.5478 GB, free: 76.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.6236, allocations: 0.7925 MB / 0.5485 GB, free: 76.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.6238, allocations: 37.88 kB / 0.5486 GB, free: 75.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6239, allocations: 24.25 kB / 0.5486 GB, free: 75.98 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6239, allocations: 0 / 0.5486 GB, free: 75.98 MB / 378.7 MB Notification: Performance of Templates: time 0.006171/0.6301, allocations: 2.36 MB / 0.5509 GB, free: 74.81 MB / 378.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)