Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") [: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.003598/0.003598, allocations: 173.7 kB / 7.448 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.424/1.424, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001917/0.001917, allocations: 119.8 kB / 217.7 MB, free: 8.223 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.165/0.165, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 1.219 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09229, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4193, allocations: 97.26 MB / 495.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4196, allocations: 73.36 kB / 495.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2881/0.7076, allocations: 106.7 MB / 0.5882 GB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005003/0.7082, allocations: 115.1 kB / 0.5883 GB, free: 13.2 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: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.01998/0.7282, allocations: 5.776 MB / 0.5939 GB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7282, allocations: 12.03 kB / 0.5939 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0276/0.7558, allocations: 6.524 MB / 0.6003 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/0.7752, allocations: 7.139 MB / 0.6073 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.7756, allocations: 176 kB / 0.6074 GB, free: 9.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002675/0.7782, allocations: 319.9 kB / 0.6077 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01684/0.7951, allocations: 8.353 MB / 0.6159 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/0.9601, allocations: 12.26 MB / 0.6279 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002839/0.9604, allocations: 75.38 kB / 0.6279 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/0.9619, allocations: 33.84 kB / 0.628 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.9636, allocations: 1.451 MB / 0.6294 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06897/1.033, allocations: 61.85 MB / 0.6898 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/1.037, allocations: 4.218 MB / 0.6939 GB, free: 76.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/1.041, allocations: 3.335 MB / 0.6972 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0202/1.061, allocations: 13.19 MB / 0.71 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/1.061, allocations: 60.66 kB / 0.7101 GB, free: 68.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 7.143e-06/1.061, allocations: 0 / 0.7101 GB, free: 68.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.06123/1.123, allocations: 23.09 MB / 0.7327 GB, free: 59.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/1.123, allocations: 259.3 kB / 0.7329 GB, free: 59.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008346/1.131, allocations: 3.911 MB / 0.7367 GB, free: 57.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005922/1.132, allocations: 29.3 kB / 0.7367 GB, free: 57.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/1.134, allocations: 3.633 MB / 0.7403 GB, free: 55.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.135, allocations: 0.9608 MB / 0.7412 GB, free: 54.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/1.136, allocations: 0 / 0.7412 GB, free: 54.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007511/1.137, allocations: 0.6252 MB / 0.7418 GB, free: 54.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/1.142, allocations: 2.516 MB / 0.7443 GB, free: 53.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005891/1.147, allocations: 6.969 MB / 0.7511 GB, free: 44.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/1.153, allocations: 4.177 MB / 0.7552 GB, free: 41.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.154, allocations: 48 kB / 0.7552 GB, free: 41.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01608/1.17, allocations: 8.91 MB / 0.7639 GB, free: 33.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.17, allocations: 8 kB / 0.7639 GB, free: 33.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/1.17, allocations: 156 kB / 0.7641 GB, free: 33.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.171, allocations: 0.5913 MB / 0.7647 GB, free: 32.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006469/1.178, allocations: 1.768 MB / 0.7664 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/1.183, allocations: 5.318 MB / 0.7716 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006367/1.189, allocations: 229.5 kB / 0.7718 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001648/1.191, allocations: 455.6 kB / 0.7722 GB, free: 25.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (943): * Single equations (assignments): 938 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002695/1.194, allocations: 0.5128 MB / 0.7727 GB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.195, allocations: 438.4 kB / 0.7732 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/1.202, allocations: 3.898 MB / 0.777 GB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/1.202, allocations: 24 kB / 0.777 GB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/1.202, allocations: 12 kB / 0.777 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/1.202, allocations: 11.77 kB / 0.777 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.221, allocations: 9.155 MB / 0.786 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.221, allocations: 7.797 kB / 0.786 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.224, allocations: 438.4 kB / 0.7864 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009749/1.225, allocations: 349.7 kB / 0.7867 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002679/1.225, allocations: 4 kB / 0.7867 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/1.229, allocations: 4.633 MB / 0.7912 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.229, allocations: 8.016 kB / 0.7912 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008596/1.238, allocations: 7.155 MB / 0.7982 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.24, allocations: 0.7789 MB / 0.799 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.241, allocations: 7.906 kB / 0.799 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/1.243, allocations: 91.22 kB / 0.7991 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.243, allocations: 116.8 kB / 0.7992 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.244, allocations: 67.94 kB / 0.7993 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.1501/1.394, allocations: 2.934 MB / 0.8021 GB, free: 106.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008426/1.402, allocations: 1.106 MB / 0.8032 GB, free: 106.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007813/1.403, allocations: 150.3 kB / 0.8034 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009929/1.413, allocations: 6.21 MB / 0.8094 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.413, allocations: 2.594 kB / 0.8094 GB, free: 106.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002589/1.416, allocations: 2.15 MB / 0.8115 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.418, allocations: 451.7 kB / 0.812 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/1.439, allocations: 10.18 MB / 0.8219 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009469/1.448, allocations: 4.57 MB / 0.8264 GB, free: 103.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/1.448, allocations: 0 / 0.8264 GB, free: 103.2 MB / 426.7 MB Notification: Performance of Templates: time 0.09006/1.538, allocations: 47.91 MB / 0.8731 GB, free: 100.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)