Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",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.001223/0.001223, allocations: 190.6 kB / 7.802 MB, free: 2.5 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.608/1.608, 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.001028/0.001028, allocations: 90.67 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.2223/0.2223, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2478/0.4701, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.8087, allocations: 58.83 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.9612, allocations: 105.2 MB / 0.5682 GB, free: 9.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.9616, allocations: 83.12 kB / 0.5682 GB, free: 9.656 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.6398/1.601, allocations: 146 MB / 0.7108 GB, free: 92.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/1.601, allocations: 9.375 kB / 0.7108 GB, free: 92.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03874/1.64, allocations: 9.129 MB / 0.7197 GB, free: 86.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02596/1.666, allocations: 8.946 MB / 0.7285 GB, free: 77.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005678/1.667, allocations: 232 kB / 0.7287 GB, free: 76.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005008/1.672, allocations: 427.8 kB / 0.7291 GB, free: 76.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01976/1.692, allocations: 9.773 MB / 0.7386 GB, free: 66.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/1.728, allocations: 14.93 MB / 0.7532 GB, free: 50.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004577/1.728, allocations: 103 kB / 0.7533 GB, free: 50.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/1.732, allocations: 44 kB / 0.7534 GB, free: 50.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/1.734, allocations: 1.647 MB / 0.755 GB, free: 48.53 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08823/1.822, allocations: 71.2 MB / 0.8245 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/1.83, allocations: 5.064 MB / 0.8294 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2588/2.089, allocations: 3.423 MB / 0.8328 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/2.107, allocations: 9.784 MB / 0.8423 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/2.107, allocations: 64.94 kB / 0.8424 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=243): time 6.111e-06/2.107, allocations: 0 / 0.8424 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=263): time 0.05171/2.159, allocations: 23.33 MB / 0.8652 GB, free: 158.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/2.159, allocations: 265.9 kB / 0.8654 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009066/2.168, allocations: 5.008 MB / 0.8703 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008414/2.169, allocations: 25.7 kB / 0.8703 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003605/2.173, allocations: 4.642 MB / 0.8749 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/2.175, allocations: 0.9915 MB / 0.8759 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/2.175, allocations: 0 / 0.8759 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000489/2.176, allocations: 0.6808 MB / 0.8765 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003942/2.18, allocations: 2.865 MB / 0.8793 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/2.186, allocations: 8.334 MB / 0.8875 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/2.193, allocations: 4.861 MB / 0.8922 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002017/2.193, allocations: 60.44 kB / 0.8923 GB, free: 141.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.02524/2.219, allocations: 10.5 MB / 0.9025 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/2.219, allocations: 4.594 kB / 0.9025 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008271/2.219, allocations: 199.8 kB / 0.9027 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/2.223, allocations: 0.8529 MB / 0.9035 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008215/2.231, allocations: 2.05 MB / 0.9055 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008704/2.24, allocations: 8.059 MB / 0.9134 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.25, allocations: 279.9 kB / 0.9137 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002553/2.252, allocations: 0.5394 MB / 0.9142 GB, free: 132.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1097): * Single equations (assignments): 1091 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003691/2.256, allocations: 0.5912 MB / 0.9148 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/2.258, allocations: 0.5214 MB / 0.9153 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/2.268, allocations: 4.352 MB / 0.9195 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/2.269, allocations: 25.41 kB / 0.9196 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-05/2.269, allocations: 7.594 kB / 0.9196 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/2.269, allocations: 12.67 kB / 0.9196 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02881/2.297, allocations: 10.15 MB / 0.9295 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/2.298, allocations: 2.578 kB / 0.9295 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002617/2.3, allocations: 420.5 kB / 0.9299 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/2.302, allocations: 0.5209 MB / 0.9304 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004872/2.302, allocations: 19.45 kB / 0.9304 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007418/2.31, allocations: 7.134 MB / 0.9374 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.31, allocations: 3.938 kB / 0.9374 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01187/2.322, allocations: 7.818 MB / 0.945 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0145/2.336, allocations: 11 MB / 0.9558 GB, free: 97.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/2.34, allocations: 0.8897 MB / 0.9566 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001893/2.342, allocations: 3.656 kB / 0.9567 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/2.345, allocations: 80.8 kB / 0.9567 GB, free: 96.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/2.346, allocations: 134.7 kB / 0.9569 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/2.346, allocations: 71.47 kB / 0.9569 GB, free: 96.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00713/2.353, allocations: 3.413 MB / 0.9603 GB, free: 93.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01102/2.364, allocations: 1.329 MB / 0.9616 GB, free: 92.18 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006488/2.365, allocations: 153.6 kB / 0.9617 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01273/2.377, allocations: 7.092 MB / 0.9686 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.377, allocations: 0 / 0.9686 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/2.381, allocations: 2.403 MB / 0.971 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005549/2.386, allocations: 0.5844 MB / 0.9715 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/2.418, allocations: 12.38 MB / 0.9836 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01234/2.431, allocations: 5.638 MB / 0.9891 GB, free: 67.51 MB / 0.4948 GB Notification: Performance of SimCode: time 2.205e-06/2.431, allocations: 0 / 0.9891 GB, free: 67.51 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1)