Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",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.002052/0.002052, 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.522/1.522, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.001425/0.001425, allocations: 89.08 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.224/0.224, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2245/0.4485, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.8013, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.9555, allocations: 105 MB / 0.568 GB, free: 9.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.9558, allocations: 75.97 kB / 0.5681 GB, free: 9.797 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.6589/1.615, allocations: 140 MB / 0.7048 GB, free: 95.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.615, allocations: 9.25 kB / 0.7048 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04007/1.655, allocations: 9.09 MB / 0.7137 GB, free: 90.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02546/1.68, allocations: 8.841 MB / 0.7223 GB, free: 83.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/1.681, allocations: 220 kB / 0.7225 GB, free: 82.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/1.684, allocations: 411.8 kB / 0.7229 GB, free: 82.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01604/1.7, allocations: 9.395 MB / 0.7321 GB, free: 73.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/1.728, allocations: 14.39 MB / 0.7461 GB, free: 57.24 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004335/1.729, allocations: 99.11 kB / 0.7462 GB, free: 57.14 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/1.731, allocations: 40 kB / 0.7463 GB, free: 57.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/1.732, allocations: 1.578 MB / 0.7478 GB, free: 55.53 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07605/1.808, allocations: 69.38 MB / 0.8156 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007874/1.816, allocations: 5.039 MB / 0.8205 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005004/1.821, allocations: 3.394 MB / 0.8238 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2572/2.079, allocations: 9.644 MB / 0.8332 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/2.079, allocations: 58.69 kB / 0.8333 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 6.301e-06/2.079, allocations: 2.438 kB / 0.8333 GB, free: 166.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.04299/2.122, allocations: 22.74 MB / 0.8555 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/2.122, allocations: 263 kB / 0.8557 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007514/2.129, allocations: 4.884 MB / 0.8605 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005506/2.13, allocations: 29.98 kB / 0.8605 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/2.133, allocations: 4.472 MB / 0.8649 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/2.134, allocations: 0.9554 MB / 0.8658 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/2.134, allocations: 0 / 0.8658 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003868/2.134, allocations: 0.6746 MB / 0.8665 GB, free: 158 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/2.138, allocations: 2.763 MB / 0.8692 GB, free: 158 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005738/2.144, allocations: 8.059 MB / 0.8771 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006163/2.15, allocations: 4.703 MB / 0.8817 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/2.15, allocations: 54.19 kB / 0.8817 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.01972/2.17, allocations: 10.13 MB / 0.8916 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/2.17, allocations: 3.969 kB / 0.8916 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004901/2.17, allocations: 187.9 kB / 0.8918 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/2.173, allocations: 0.8192 MB / 0.8926 GB, free: 146 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007544/2.18, allocations: 1.956 MB / 0.8945 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009948/2.19, allocations: 7.849 MB / 0.9022 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00864/2.199, allocations: 270.7 kB / 0.9024 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/2.201, allocations: 0.5256 MB / 0.9029 GB, free: 140.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1065): * Single equations (assignments): 1059 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003598/2.205, allocations: 0.5711 MB / 0.9035 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/2.207, allocations: 0.5003 MB / 0.904 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008945/2.216, allocations: 4.16 MB / 0.908 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/2.216, allocations: 23.81 kB / 0.9081 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/2.216, allocations: 7.938 kB / 0.9081 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/2.216, allocations: 11.86 kB / 0.9081 GB, free: 138 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/2.241, allocations: 9.764 MB / 0.9176 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/2.241, allocations: 0 / 0.9176 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/2.244, allocations: 384.5 kB / 0.918 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/2.245, allocations: 0.4976 MB / 0.9185 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003873/2.246, allocations: 11.28 kB / 0.9185 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006489/2.252, allocations: 6.919 MB / 0.9252 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/2.252, allocations: 3.938 kB / 0.9252 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01156/2.264, allocations: 7.525 MB / 0.9326 GB, free: 119 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01316/2.277, allocations: 10.6 MB / 0.9429 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/2.28, allocations: 0.8697 MB / 0.9438 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/2.282, allocations: 4 kB / 0.9438 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/2.285, allocations: 76.84 kB / 0.9439 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/2.285, allocations: 122.8 kB / 0.944 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/2.285, allocations: 71.08 kB / 0.9441 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00704/2.292, allocations: 3.325 MB / 0.9473 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01081/2.303, allocations: 1.287 MB / 0.9486 GB, free: 104.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 205 * 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%) 10,(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.000704/2.304, allocations: 156.6 kB / 0.9487 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01052/2.314, allocations: 6.837 MB / 0.9554 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.314, allocations: 4 kB / 0.9554 GB, free: 97.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00286/2.317, allocations: 2.28 MB / 0.9576 GB, free: 95.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004424/2.322, allocations: 0.5725 MB / 0.9582 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/2.351, allocations: 11.99 MB / 0.9699 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01014/2.361, allocations: 5.449 MB / 0.9752 GB, free: 80.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/2.361, allocations: 0 / 0.9752 GB, free: 80.38 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)