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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002151/0.002151, allocations: 195.8 kB / 7.463 MB, free: 2.242 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.148/1.148, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.001669/0.001669, allocations: 122.4 kB / 247.1 MB, free: 6.277 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.1814/0.1814, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/1.001e-05, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4704, allocations: 84.24 MB / 0.5194 GB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4707, allocations: 67.31 kB / 0.5195 GB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01481/0.4855, allocations: 5.2 MB / 0.5246 GB, free: 8.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.4856, allocations: 7.969 kB / 0.5246 GB, free: 8.016 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.001149/0.4867, allocations: 0.6236 MB / 0.5252 GB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4868, allocations: 9.094 kB / 0.5252 GB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.4869, allocations: 41.44 kB / 0.5252 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.4874, allocations: 284.1 kB / 0.5255 GB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.4874, allocations: 17 kB / 0.5255 GB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.4875, allocations: 21 kB / 0.5255 GB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005488/0.488, allocations: 248.7 kB / 0.5258 GB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.4885, allocations: 257.9 kB / 0.526 GB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.4886, allocations: 0 / 0.526 GB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.4886, allocations: 7.984 kB / 0.526 GB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4886, allocations: 9.188 kB / 0.526 GB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.4909, allocations: 1.267 MB / 0.5273 GB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.4913, allocations: 218.7 kB / 0.5275 GB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.4915, allocations: 144.3 kB / 0.5276 GB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.4916, allocations: 3.781 kB / 0.5276 GB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.4916, allocations: 39.66 kB / 0.5277 GB, free: 6.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.4916, allocations: 0 / 0.5277 GB, free: 6.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004699/0.4921, allocations: 238.8 kB / 0.5279 GB, free: 6.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.4921, allocations: 55.34 kB / 0.5279 GB, free: 6.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.4923, allocations: 196.3 kB / 0.5281 GB, free: 6.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4923, allocations: 25.7 kB / 0.5282 GB, free: 5.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.4924, allocations: 190.5 kB / 0.5283 GB, free: 5.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.4925, allocations: 114.5 kB / 0.5284 GB, free: 5.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.4925, allocations: 1.25 kB / 0.5284 GB, free: 5.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.4926, allocations: 338.2 kB / 0.5288 GB, free: 5.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4927, allocations: 77.28 kB / 0.5288 GB, free: 5.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4929, allocations: 145.9 kB / 0.529 GB, free: 5.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.4931, allocations: 105.2 kB / 0.5291 GB, free: 5.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4931, allocations: 0 / 0.5291 GB, free: 5.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005188/0.4936, allocations: 301.2 kB / 0.5294 GB, free: 5.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4937, allocations: 4.5 kB / 0.5294 GB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4937, allocations: 2.375 kB / 0.5294 GB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4937, allocations: 7.469 kB / 0.5294 GB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.4942, allocations: 106.8 kB / 0.5295 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4943, allocations: 3.438 kB / 0.5295 GB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.4945, allocations: 40.64 kB / 0.5295 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.4946, allocations: 21.31 kB / 0.5295 GB, free: 5.168 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.429e-05/0.4947, allocations: 115.6 kB / 0.5297 GB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.4947, allocations: 27.73 kB / 0.5297 GB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4952, allocations: 258.4 kB / 0.5299 GB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.4952, allocations: 7.562 kB / 0.5299 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4952, allocations: 5.328 kB / 0.5299 GB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4952, allocations: 0 / 0.5299 GB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.4956, allocations: 339.2 kB / 0.5303 GB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4956, allocations: 9.125 kB / 0.5303 GB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.4961, allocations: 87.44 kB / 0.5304 GB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.4961, allocations: 6.344 kB / 0.5304 GB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4961, allocations: 0 / 0.5304 GB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4961, allocations: 1.375 kB / 0.5304 GB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4961, allocations: 1.531 kB / 0.5304 GB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005984/0.4967, allocations: 474.5 kB / 0.5308 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.4968, allocations: 123.6 kB / 0.5309 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.4969, allocations: 3.906 kB / 0.5309 GB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.4971, allocations: 11.5 kB / 0.531 GB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.4972, allocations: 15.97 kB / 0.531 GB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4972, allocations: 11.48 kB / 0.531 GB, free: 4.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001025/0.4973, allocations: 156.9 kB / 0.5311 GB, free: 4.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.4977, allocations: 87.69 kB / 0.5312 GB, free: 4.059 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.0001088/0.4978, allocations: 100.1 kB / 0.5313 GB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.4982, allocations: 232.9 kB / 0.5315 GB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4982, allocations: 0 / 0.5315 GB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4983, allocations: 114.2 kB / 0.5316 GB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.4985, allocations: 19.61 kB / 0.5317 GB, free: 3.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.4996, allocations: 0.5337 MB / 0.5322 GB, free: 3.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.4999, allocations: 0.8373 MB / 0.533 GB, free: 2.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5, allocations: 0 / 0.533 GB, free: 2.34 MB / 346.7 MB Notification: Performance of Templates: time 0.005677/0.5056, allocations: 2.971 MB / 0.5359 GB, free: 15.41 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)