Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") [: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.1+maint.om/package.mo): time 0.004013/0.004014, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.287/1.287, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001845/0.001846, allocations: 107.8 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1816/0.1816, allocations: 37.97 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.544e-06, allocations: 1.406 kB / 349.5 MB, free: 37.12 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 48.71 MB / 398.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4834, allocations: 89.87 MB / 488.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4837, allocations: 74.73 kB / 488.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2326/0.7163, allocations: 81.78 MB / 0.5566 GB, free: 11.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005279/0.7168, allocations: 79.59 kB / 0.5567 GB, free: 11.6 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01893/0.7358, allocations: 3.849 MB / 0.5604 GB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.7359, allocations: 12.03 kB / 0.5604 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/0.7481, allocations: 1.971 MB / 0.5624 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01681/0.7649, allocations: 5.191 MB / 0.5674 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/0.7654, allocations: 144 kB / 0.5676 GB, free: 368 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/0.7684, allocations: 247.9 kB / 0.5678 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01619/0.7846, allocations: 6.221 MB / 0.5739 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.8114, allocations: 9.464 MB / 0.5831 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004847/0.812, allocations: 75.33 kB / 0.5832 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002653/0.8147, allocations: 32 kB / 0.5832 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002198/0.8169, allocations: 1.072 MB / 0.5843 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2356/1.052, allocations: 47.35 MB / 0.6305 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/1.055, allocations: 1.856 MB / 0.6323 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.056, allocations: 0.9863 MB / 0.6333 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006301/1.062, allocations: 4.423 MB / 0.6376 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.062, allocations: 55.42 kB / 0.6376 GB, free: 103.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 3.928e-06/1.062, allocations: 0 / 0.6376 GB, free: 103.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.01555/1.078, allocations: 7.57 MB / 0.645 GB, free: 100.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/1.078, allocations: 196.5 kB / 0.6452 GB, free: 100.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/1.082, allocations: 3.092 MB / 0.6482 GB, free: 99.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/1.082, allocations: 29.45 kB / 0.6483 GB, free: 99.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.084, allocations: 3 MB / 0.6512 GB, free: 97.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004781/1.084, allocations: 0.5807 MB / 0.6518 GB, free: 97.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.084, allocations: 0 / 0.6518 GB, free: 97.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/1.085, allocations: 0.5604 MB / 0.6523 GB, free: 97.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/1.086, allocations: 1.488 MB / 0.6538 GB, free: 97.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003173/1.09, allocations: 5.409 MB / 0.6591 GB, free: 92.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/1.093, allocations: 2.871 MB / 0.6619 GB, free: 92.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.314e-05/1.093, allocations: 38.16 kB / 0.6619 GB, free: 92.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.00903/1.102, allocations: 5.911 MB / 0.6677 GB, free: 91.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.102, allocations: 3.594 kB / 0.6677 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/1.103, allocations: 141.1 kB / 0.6678 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/1.103, allocations: 207.5 kB / 0.668 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.107, allocations: 1.458 MB / 0.6694 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001991/1.107, allocations: 276.8 kB / 0.6697 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/1.112, allocations: 242.1 kB / 0.6699 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/1.112, allocations: 380.2 kB / 0.6703 GB, free: 91.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (770): * Single equations (assignments): 767 * Array equations: 3 * 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.0007995/1.113, allocations: 462.6 kB / 0.6707 GB, free: 91.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00077/1.114, allocations: 309.6 kB / 0.671 GB, free: 90.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/1.116, allocations: 1.147 MB / 0.6721 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/1.116, allocations: 18.97 kB / 0.6722 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.116, allocations: 0 / 0.6722 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.116, allocations: 11.36 kB / 0.6722 GB, free: 90.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007458/1.123, allocations: 4.527 MB / 0.6766 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/1.123, allocations: 13.41 kB / 0.6766 GB, free: 89.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009817/1.124, allocations: 261.2 kB / 0.6769 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.51e-05/1.124, allocations: 25.88 kB / 0.6769 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/1.125, allocations: 26.31 kB / 0.6769 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.125, allocations: 38.02 kB / 0.6769 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.567e-05/1.125, allocations: 22.75 kB / 0.677 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003634/1.128, allocations: 4.642 MB / 0.6815 GB, free: 86.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.13, allocations: 497.5 kB / 0.682 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.13, allocations: 22.66 kB / 0.682 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.131, allocations: 66.12 kB / 0.6821 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.132, allocations: 125.6 kB / 0.6822 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.355e-05/1.132, allocations: 58.31 kB / 0.6822 GB, free: 86.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0042/1.136, allocations: 2.047 MB / 0.6842 GB, free: 85.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007508/1.143, allocations: 0.7453 MB / 0.685 GB, free: 85.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 3 * 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.0005078/1.144, allocations: 177.8 kB / 0.6851 GB, free: 85.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006529/1.15, allocations: 3.421 MB / 0.6885 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/1.15, allocations: 4 kB / 0.6885 GB, free: 84.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008398/1.151, allocations: 0.6708 MB / 0.6891 GB, free: 84.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.154, allocations: 337.4 kB / 0.6894 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.17, allocations: 6.986 MB / 0.6963 GB, free: 81.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004594/1.174, allocations: 3.477 MB / 0.6997 GB, free: 79.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/1.174, allocations: 7.844 kB / 0.6997 GB, free: 79.96 MB / 426.7 MB Notification: Performance of Templates: time 0.06036/1.235, allocations: 26.43 MB / 0.7255 GB, free: 65.79 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)