Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.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.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",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.001754/0.001754, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009491/0.0009491, allocations: 89.02 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1728/0.1728, allocations: 45.13 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2162/0.389, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.4832, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2764/0.7597, allocations: 111.6 MB / 0.6129 GB, free: 7.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.7599, allocations: 79.89 kB / 0.6129 GB, free: 7.422 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.1871/0.9471, allocations: 66.1 MB / 0.6775 GB, free: 13.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9471, allocations: 8 kB / 0.6775 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.9523, allocations: 0.5961 MB / 0.6781 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.9608, allocations: 2.43 MB / 0.6804 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.9611, allocations: 120 kB / 0.6806 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.9622, allocations: 216 kB / 0.6808 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01364/0.9759, allocations: 5.214 MB / 0.6859 GB, free: 5.168 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.9931, allocations: 6.681 MB / 0.6924 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.9933, allocations: 15.88 kB / 0.6924 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005595/0.9938, allocations: 12 kB / 0.6924 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001222/0.9951, allocations: 0.6504 MB / 0.693 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04467/1.04, allocations: 24.77 MB / 0.7172 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/1.042, allocations: 1.132 MB / 0.7183 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/1.044, allocations: 0.7972 MB / 0.7191 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/1.056, allocations: 5.912 MB / 0.7249 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.056, allocations: 39.22 kB / 0.7249 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 4.368e-06/1.056, allocations: 4 kB / 0.7249 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=79): time 0.01642/1.072, allocations: 4.196 MB / 0.729 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/1.072, allocations: 115.4 kB / 0.7291 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/1.076, allocations: 1.911 MB / 0.731 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.683e-05/1.076, allocations: 29.7 kB / 0.731 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.078, allocations: 2.076 MB / 0.7331 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/1.078, allocations: 308.1 kB / 0.7333 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.079, allocations: 0 / 0.7333 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003071/1.079, allocations: 453.1 kB / 0.7338 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/1.081, allocations: 0.8306 MB / 0.7346 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003523/1.084, allocations: 2.905 MB / 0.7374 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/1.087, allocations: 1.553 MB / 0.7389 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-05/1.088, allocations: 20 kB / 0.739 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.008207/1.096, allocations: 3.277 MB / 0.7422 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.096, allocations: 7.938 kB / 0.7422 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/1.096, allocations: 72 kB / 0.7422 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/1.096, allocations: 115.9 kB / 0.7424 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003975/1.1, allocations: 0.7798 MB / 0.7431 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/1.1, allocations: 147.4 kB / 0.7433 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/1.104, allocations: 99.77 kB / 0.7433 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/1.104, allocations: 204 kB / 0.7435 GB, free: 7.406 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * Number of states: 0 () * Number of discrete variables: 56 (jointRRP.jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 435 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005522/1.105, allocations: 320.4 kB / 0.7439 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/1.105, allocations: 193.5 kB / 0.744 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.108, allocations: 0.9856 MB / 0.745 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.108, allocations: 8 kB / 0.745 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.108, allocations: 7.906 kB / 0.745 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.108, allocations: 3.984 kB / 0.745 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009348/1.117, allocations: 4.347 MB / 0.7493 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/1.117, allocations: 24.22 kB / 0.7493 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.118, allocations: 231.6 kB / 0.7495 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/1.118, allocations: 28 kB / 0.7495 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-05/1.119, allocations: 24 kB / 0.7496 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.359e-05/1.119, allocations: 35.86 kB / 0.7496 GB, free: 0.8555 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-05/1.119, allocations: 27.88 kB / 0.7496 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1624/1.281, allocations: 3.292 MB / 0.7528 GB, free: 201.9 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001668/1.283, allocations: 3.704 MB / 0.7564 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/1.283, allocations: 287.5 kB / 0.7567 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/1.283, allocations: 26.66 kB / 0.7567 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/1.284, allocations: 26.53 kB / 0.7568 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.284, allocations: 113.3 kB / 0.7569 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/1.284, allocations: 54.16 kB / 0.7569 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001719/1.286, allocations: 1.276 MB / 0.7582 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003044/1.289, allocations: 0.5212 MB / 0.7587 GB, free: 198.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/1.289, allocations: 173.1 kB / 0.7589 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.292, allocations: 1.986 MB / 0.7608 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/1.292, allocations: 3.906 kB / 0.7608 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/1.292, allocations: 0.523 MB / 0.7613 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/1.294, allocations: 270.1 kB / 0.7616 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0078/1.301, allocations: 5.296 MB / 0.7667 GB, free: 196.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002807/1.304, allocations: 2.905 MB / 0.7696 GB, free: 195.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/1.304, allocations: 0 / 0.7696 GB, free: 195.8 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)