Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 190.8 kB / 7.803 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008561/0.0008561, allocations: 81.53 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1941/0.1941, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.204/0.3981, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.7416, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.9006, allocations: 108.3 MB / 0.5712 GB, free: 6.602 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.901, allocations: 75.97 kB / 0.5713 GB, free: 6.527 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.6706/1.572, allocations: 141.4 MB / 0.7094 GB, free: 94.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.572, allocations: 8.938 kB / 0.7094 GB, free: 94.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/1.6, allocations: 6.802 MB / 0.716 GB, free: 90.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/1.622, allocations: 7.623 MB / 0.7235 GB, free: 82.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/1.623, allocations: 228 kB / 0.7237 GB, free: 82.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004087/1.627, allocations: 411.8 kB / 0.7241 GB, free: 82.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02226/1.649, allocations: 10.11 MB / 0.7339 GB, free: 72.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03681/1.686, allocations: 15.13 MB / 0.7487 GB, free: 55.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004067/1.686, allocations: 83.22 kB / 0.7488 GB, free: 55.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/1.689, allocations: 51.89 kB / 0.7488 GB, free: 55.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/1.691, allocations: 1.737 MB / 0.7505 GB, free: 53.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0897/1.781, allocations: 70.82 MB / 0.8197 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008382/1.789, allocations: 5.902 MB / 0.8255 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.795, allocations: 4.072 MB / 0.8294 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2385/2.034, allocations: 10.81 MB / 0.84 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/2.034, allocations: 70.06 kB / 0.8401 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=278): time 6.382e-06/2.034, allocations: 0 / 0.8401 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=320): time 0.0575/2.091, allocations: 26.83 MB / 0.8663 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/2.091, allocations: 242.6 kB / 0.8665 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008084/2.099, allocations: 4.705 MB / 0.8711 GB, free: 159.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/2.101, allocations: 25.7 kB / 0.8711 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/2.104, allocations: 4.56 MB / 0.8756 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/2.106, allocations: 1.173 MB / 0.8767 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006091/2.107, allocations: 0 / 0.8767 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005064/2.107, allocations: 0.695 MB / 0.8774 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004979/2.112, allocations: 3.657 MB / 0.881 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007782/2.12, allocations: 8.898 MB / 0.8896 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008263/2.128, allocations: 5.663 MB / 0.8952 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001875/2.128, allocations: 53.91 kB / 0.8952 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1206) (initialization): time 0.02747/2.156, allocations: 12.75 MB / 0.9077 GB, free: 140 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/2.156, allocations: 12.06 kB / 0.9077 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004117/2.156, allocations: 185.6 kB / 0.9079 GB, free: 140 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004752/2.161, allocations: 1.628 MB / 0.9095 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009554/2.171, allocations: 2.147 MB / 0.9116 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/2.184, allocations: 10.38 MB / 0.9217 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009596/2.193, allocations: 310.3 kB / 0.922 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00281/2.196, allocations: 0.5393 MB / 0.9225 GB, free: 129.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1134): * Single equations (assignments): 1129 * 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002849/2.199, allocations: 0.5771 MB / 0.9231 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/2.2, allocations: 0.5052 MB / 0.9236 GB, free: 128 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/2.212, allocations: 6.836 MB / 0.9303 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.691e-05/2.212, allocations: 28 kB / 0.9303 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/2.212, allocations: 11.05 kB / 0.9303 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/2.212, allocations: 18.06 kB / 0.9303 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02774/2.24, allocations: 14.14 MB / 0.9441 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/2.24, allocations: 5.469 kB / 0.9441 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003277/2.243, allocations: 0.5252 MB / 0.9446 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/2.247, allocations: 1.314 MB / 0.9459 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006217/2.247, allocations: 12 kB / 0.9459 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/2.259, allocations: 9.67 MB / 0.9554 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/2.259, allocations: 3.188 kB / 0.9554 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01767/2.277, allocations: 11.5 MB / 0.9666 GB, free: 90.66 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01943/2.296, allocations: 16.05 MB / 0.9823 GB, free: 76.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/2.3, allocations: 1.057 MB / 0.9833 GB, free: 75.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.302, allocations: 4 kB / 0.9833 GB, free: 75.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/2.305, allocations: 114.4 kB / 0.9834 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/2.306, allocations: 155.2 kB / 0.9836 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.306, allocations: 83.84 kB / 0.9837 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005611/2.312, allocations: 3.171 MB / 0.9868 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01133/2.323, allocations: 1.454 MB / 0.9882 GB, free: 70.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007954/2.324, allocations: 152.7 kB / 0.9883 GB, free: 70.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01514/2.339, allocations: 8.95 MB / 0.9971 GB, free: 62.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/2.339, allocations: 4.125 kB / 0.9971 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005299/2.344, allocations: 3.448 MB / 1 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/2.348, allocations: 0.5093 MB / 1.001 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/2.381, allocations: 13.53 MB / 1.014 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01089/2.392, allocations: 5.61 MB / 1.02 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.924e-06/2.392, allocations: 0 / 1.02 GB, free: 39.04 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)