Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.001171/0.001171, allocations: 190.6 kB / 7.802 MB, free: 2.438 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.347/1.347, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009879/0.0009878, allocations: 86.86 kB / 261.4 MB, free: 13.55 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.1995/0.1995, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.4439, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.7753, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.9368, allocations: 106.2 MB / 0.5692 GB, free: 8.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.9371, allocations: 79.47 kB / 0.5693 GB, free: 8.574 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.617/1.554, allocations: 133.7 MB / 0.6998 GB, free: 82.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/1.554, allocations: 8.438 kB / 0.6998 GB, free: 82.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03202/1.586, allocations: 6.727 MB / 0.7064 GB, free: 78.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02221/1.609, allocations: 7.337 MB / 0.7136 GB, free: 72.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006035/1.609, allocations: 216 kB / 0.7138 GB, free: 72.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004307/1.614, allocations: 390.6 kB / 0.7141 GB, free: 72.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02128/1.635, allocations: 9.93 MB / 0.7238 GB, free: 65.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/1.675, allocations: 14.44 MB / 0.7379 GB, free: 51.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008312/1.676, allocations: 79.25 kB / 0.738 GB, free: 51.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004571/1.68, allocations: 35.98 kB / 0.7381 GB, free: 51.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002559/1.683, allocations: 1.682 MB / 0.7397 GB, free: 49.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.096/1.779, allocations: 65.26 MB / 0.8034 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009831/1.789, allocations: 6.189 MB / 0.8095 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006584/1.796, allocations: 4.358 MB / 0.8137 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02532/1.821, allocations: 11.65 MB / 0.8251 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.038e-05/1.821, allocations: 68.5 kB / 0.8252 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=306): time 8.666e-06/1.821, allocations: 0 / 0.8252 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=349): time 0.3218/2.143, allocations: 25.86 MB / 0.8504 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.143, allocations: 216.6 kB / 0.8506 GB, free: 183.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006797/2.15, allocations: 3.98 MB / 0.8545 GB, free: 183.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009491/2.151, allocations: 27.95 kB / 0.8545 GB, free: 183.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002265/2.153, allocations: 4.138 MB / 0.8586 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/2.155, allocations: 1.237 MB / 0.8598 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/2.155, allocations: 0 / 0.8598 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004437/2.156, allocations: 0.6669 MB / 0.8604 GB, free: 179.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/2.161, allocations: 3.559 MB / 0.8639 GB, free: 179.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007041/2.168, allocations: 8.241 MB / 0.872 GB, free: 173.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009681/2.177, allocations: 5.375 MB / 0.8772 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/2.178, allocations: 50.12 kB / 0.8773 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.02666/2.204, allocations: 12.16 MB / 0.8891 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.204, allocations: 3.969 kB / 0.8891 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005829/2.205, allocations: 167.1 kB / 0.8893 GB, free: 169.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00441/2.21, allocations: 1.604 MB / 0.8909 GB, free: 169.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008274/2.218, allocations: 1.976 MB / 0.8928 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/2.236, allocations: 10.39 MB / 0.903 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009281/2.245, allocations: 277 kB / 0.9032 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002607/2.248, allocations: 0.4948 MB / 0.9037 GB, free: 163.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1042): * Single equations (assignments): 1037 * 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.00511/2.253, allocations: 0.5257 MB / 0.9042 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002501/2.255, allocations: 466.6 kB / 0.9047 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/2.273, allocations: 7.139 MB / 0.9116 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-05/2.273, allocations: 32 kB / 0.9117 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.868e-05/2.273, allocations: 11.94 kB / 0.9117 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/2.273, allocations: 20.17 kB / 0.9117 GB, free: 160 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0357/2.309, allocations: 14.65 MB / 0.926 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/2.309, allocations: 0 / 0.926 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003578/2.313, allocations: 0.5623 MB / 0.9265 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003666/2.316, allocations: 1.316 MB / 0.9278 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008519/2.317, allocations: 19.33 kB / 0.9278 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/2.329, allocations: 9.64 MB / 0.9373 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/2.329, allocations: 4 kB / 0.9373 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01986/2.349, allocations: 11.85 MB / 0.9488 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02443/2.374, allocations: 16.63 MB / 0.9651 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003692/2.377, allocations: 1.033 MB / 0.9661 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002002/2.379, allocations: 7.891 kB / 0.9661 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003734/2.383, allocations: 141.9 kB / 0.9662 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008842/2.384, allocations: 161 kB / 0.9664 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006786/2.385, allocations: 87.84 kB / 0.9665 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.006793/2.391, allocations: 2.68 MB / 0.9691 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01206/2.404, allocations: 1.389 MB / 0.9704 GB, free: 107.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (295): * Single equations (assignments): 290 * 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.001108/2.405, allocations: 157.3 kB / 0.9706 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01537/2.42, allocations: 8.857 MB / 0.9792 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/2.42, allocations: 0 / 0.9792 GB, free: 99.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006877/2.427, allocations: 3.634 MB / 0.9828 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.432, allocations: 469.1 kB / 0.9832 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03613/2.468, allocations: 13.05 MB / 0.996 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01193/2.48, allocations: 5.347 MB / 1.001 GB, free: 76.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.083e-06/2.48, allocations: 0 / 1.001 GB, free: 76.86 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)