Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [: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.002158/0.002158, allocations: 181.4 kB / 7.459 MB, free: 2.219 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.265/1.265, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001752/0.001752, allocations: 120.5 kB / 247.1 MB, free: 6.344 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.1649/0.1649, allocations: 39.95 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.972e-06/5.981e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07939/0.0794, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.3282, allocations: 96.1 MB / 0.531 GB, free: 4.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3285, allocations: 74.89 kB / 0.5311 GB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.154/0.4825, allocations: 62.06 MB / 0.5917 GB, free: 14.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001793/0.4827, allocations: 72 kB / 0.5918 GB, free: 14.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01027/0.493, allocations: 3.367 MB / 0.595 GB, free: 10.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4931, allocations: 19.97 kB / 0.5951 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008257/0.5013, allocations: 1.668 MB / 0.5967 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005065/0.5064, allocations: 1.934 MB / 0.5986 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.5067, allocations: 123.9 kB / 0.5987 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.5083, allocations: 208 kB / 0.5989 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01094/0.5192, allocations: 5.719 MB / 0.6045 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.5381, allocations: 8.64 MB / 0.6129 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/0.5384, allocations: 47.53 kB / 0.613 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/0.5398, allocations: 28 kB / 0.613 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00156/0.5414, allocations: 1.036 MB / 0.614 GB, free: 6.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05631/0.5977, allocations: 42.24 MB / 0.6552 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/0.6055, allocations: 3.245 MB / 0.6584 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005223/0.6108, allocations: 2.2 MB / 0.6606 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008861/0.6117, allocations: 396.1 kB / 0.6609 GB, free: 4.926 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.865e-05/0.6119, allocations: 51.56 kB / 0.661 GB, free: 4.867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=169): time 8.787e-06/0.6119, allocations: 4 kB / 0.661 GB, free: 4.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=214): time 0.2391/0.851, allocations: 21.98 MB / 0.6825 GB, free: 92.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.851, allocations: 181 kB / 0.6826 GB, free: 92.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.8537, allocations: 2.373 MB / 0.6849 GB, free: 92.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.8539, allocations: 29.45 kB / 0.685 GB, free: 92.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009758/0.8549, allocations: 2.532 MB / 0.6874 GB, free: 90.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005789/0.8555, allocations: 0.7861 MB / 0.6882 GB, free: 90.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/0.8558, allocations: 3.188 kB / 0.6882 GB, free: 90.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.8562, allocations: 0.5996 MB / 0.6888 GB, free: 89.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.8588, allocations: 2.518 MB / 0.6913 GB, free: 89.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.8626, allocations: 5.814 MB / 0.6969 GB, free: 85.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/0.8672, allocations: 3.998 MB / 0.7008 GB, free: 85.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-05/0.8673, allocations: 33.91 kB / 0.7009 GB, free: 85.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01349/0.8808, allocations: 8.588 MB / 0.7093 GB, free: 85.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8808, allocations: 7.719 kB / 0.7093 GB, free: 85.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.395e-05/0.8809, allocations: 116.1 kB / 0.7094 GB, free: 85.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002801/0.8837, allocations: 1.115 MB / 0.7105 GB, free: 85.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/0.8881, allocations: 1.348 MB / 0.7118 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.8924, allocations: 4.972 MB / 0.7166 GB, free: 81.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/0.8962, allocations: 179.5 kB / 0.7168 GB, free: 81.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004998/0.8967, allocations: 367.2 kB / 0.7172 GB, free: 81.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007232/0.8975, allocations: 393.5 kB / 0.7175 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.8979, allocations: 269.5 kB / 0.7178 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00708/0.905, allocations: 4.701 MB / 0.7224 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/0.905, allocations: 19.16 kB / 0.7224 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.9051, allocations: 7.812 kB / 0.7224 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.9051, allocations: 9.141 kB / 0.7224 GB, free: 79.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.9196, allocations: 9.692 MB / 0.7319 GB, free: 75.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9196, allocations: 0 / 0.7319 GB, free: 75.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/0.9216, allocations: 349 kB / 0.7322 GB, free: 75.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.9244, allocations: 0.9314 MB / 0.7331 GB, free: 75.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002957/0.9247, allocations: 10.8 kB / 0.7331 GB, free: 75.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.9286, allocations: 4.365 MB / 0.7374 GB, free: 72.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9286, allocations: 3.906 kB / 0.7374 GB, free: 72.05 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01094/0.9395, allocations: 8.31 MB / 0.7455 GB, free: 68.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/0.9416, allocations: 0.7254 MB / 0.7462 GB, free: 68.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005669/0.9422, allocations: 2.656 kB / 0.7462 GB, free: 68.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9437, allocations: 58.83 kB / 0.7463 GB, free: 68.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.9441, allocations: 95.56 kB / 0.7464 GB, free: 68.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/0.9443, allocations: 77.2 kB / 0.7465 GB, free: 68.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00257/0.9469, allocations: 1.561 MB / 0.748 GB, free: 67.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004852/0.9518, allocations: 0.8112 MB / 0.7488 GB, free: 67.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005369/0.9523, allocations: 162 kB / 0.7489 GB, free: 67.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009769/0.9621, allocations: 6.549 MB / 0.7553 GB, free: 64.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9621, allocations: 0.9688 kB / 0.7553 GB, free: 64.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/0.9668, allocations: 2.85 MB / 0.7581 GB, free: 63.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.9684, allocations: 200.1 kB / 0.7583 GB, free: 63.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.9827, allocations: 7.739 MB / 0.7659 GB, free: 58.15 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003818/0.9866, allocations: 3.195 MB / 0.769 GB, free: 55.64 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9866, allocations: 0 / 0.769 GB, free: 55.64 MB / 474.7 MB Notification: Performance of Templates: time 0.06635/1.053, allocations: 40.49 MB / 0.8085 GB, free: 22.36 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1)