Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001569/0.001569, allocations: 195.1 kB / 8.538 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009279/0.0009279, allocations: 89.48 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2015/0.3789, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.4662, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2821/0.7483, allocations: 107.2 MB / 0.6086 GB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.7486, allocations: 72.97 kB / 0.6086 GB, free: 11.89 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.3466/1.095, allocations: 138.3 MB / 0.7437 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.095, allocations: 8 kB / 0.7437 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03762/1.133, allocations: 9.026 MB / 0.7525 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1686/1.302, allocations: 7.393 MB / 0.7597 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/1.302, allocations: 206 kB / 0.7599 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/1.303, allocations: 393.8 kB / 0.7603 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01211/1.315, allocations: 8.709 MB / 0.7688 GB, free: 169.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/1.333, allocations: 13.56 MB / 0.782 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/1.334, allocations: 97.95 kB / 0.7821 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007395/1.335, allocations: 45.25 kB / 0.7821 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/1.336, allocations: 1.442 MB / 0.7836 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06587/1.402, allocations: 66.51 MB / 0.8485 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004719/1.407, allocations: 4.466 MB / 0.8529 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003092/1.41, allocations: 2.974 MB / 0.8558 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.422, allocations: 8.606 MB / 0.8642 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.422, allocations: 64.83 kB / 0.8642 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=184): time 4.408e-06/1.422, allocations: 0 / 0.8642 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=205): time 0.03958/1.462, allocations: 21.06 MB / 0.8848 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/1.462, allocations: 260.7 kB / 0.8851 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/1.468, allocations: 4.7 MB / 0.8897 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/1.469, allocations: 31.69 kB / 0.8897 GB, free: 96.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.47, allocations: 4.249 MB / 0.8938 GB, free: 92.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006307/1.471, allocations: 0.7979 MB / 0.8946 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/1.471, allocations: 0 / 0.8946 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003111/1.472, allocations: 0.6428 MB / 0.8952 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/1.474, allocations: 2.361 MB / 0.8975 GB, free: 89.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004345/1.479, allocations: 7.391 MB / 0.9048 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/1.483, allocations: 4.176 MB / 0.9088 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.415e-05/1.483, allocations: 52 kB / 0.9089 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.01491/1.498, allocations: 9.077 MB / 0.9178 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.498, allocations: 4 kB / 0.9178 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.498, allocations: 184.8 kB / 0.9179 GB, free: 68.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/1.501, allocations: 0.8003 MB / 0.9187 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.506, allocations: 1.786 MB / 0.9205 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008066/1.514, allocations: 7.827 MB / 0.9281 GB, free: 58.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005832/1.52, allocations: 237.4 kB / 0.9283 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009247/1.521, allocations: 0.4898 MB / 0.9288 GB, free: 57.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 (973): * Single equations (assignments): 967 * 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.0008058/1.522, allocations: 0.5555 MB / 0.9293 GB, free: 57.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000658/1.523, allocations: 485.7 kB / 0.9298 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00513/1.528, allocations: 3.264 MB / 0.933 GB, free: 54.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/1.528, allocations: 20 kB / 0.933 GB, free: 54.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.528, allocations: 8 kB / 0.933 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/1.528, allocations: 10.12 kB / 0.933 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.541, allocations: 8.198 MB / 0.941 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.541, allocations: 3.844 kB / 0.941 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.542, allocations: 276.3 kB / 0.9413 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/1.544, allocations: 0.4994 MB / 0.9418 GB, free: 46.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.544, allocations: 12 kB / 0.9418 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/1.55, allocations: 6.921 MB / 0.9486 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.55, allocations: 3.797 kB / 0.9486 GB, free: 40.15 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007252/1.558, allocations: 6.083 MB / 0.9545 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01191/1.57, allocations: 8.532 MB / 0.9628 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.571, allocations: 0.4927 MB / 0.9633 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006442/1.571, allocations: 7.703 kB / 0.9633 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.573, allocations: 61.44 kB / 0.9634 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/1.573, allocations: 90.23 kB / 0.9635 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.574, allocations: 54.38 kB / 0.9635 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004604/1.578, allocations: 3.201 MB / 0.9667 GB, free: 23.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006833/1.585, allocations: 1.184 MB / 0.9678 GB, free: 22.44 MB / 0.5261 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 (157): * Single equations (assignments): 151 * 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.0004273/1.586, allocations: 160.9 kB / 0.968 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00694/1.593, allocations: 5.89 MB / 0.9737 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.593, allocations: 0 / 0.9737 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.595, allocations: 1.823 MB / 0.9755 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.597, allocations: 0.5979 MB / 0.9761 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.615, allocations: 10.91 MB / 0.9867 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.157/1.772, allocations: 5.14 MB / 0.9918 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/1.772, allocations: 0 / 0.9918 GB, free: 149.5 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)