Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",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.001384/0.001384, allocations: 198.6 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008933/0.0008934, allocations: 91.34 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1966/0.3736, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.4544, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.7364, allocations: 112.1 MB / 0.6133 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.7367, allocations: 74.77 kB / 0.6134 GB, free: 6.922 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.1702/0.9069, allocations: 67.87 MB / 0.6797 GB, free: 11.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.9069, allocations: 11.94 kB / 0.6797 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003637/0.9106, allocations: 0.6312 MB / 0.6803 GB, free: 10.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.916, allocations: 2.399 MB / 0.6826 GB, free: 8.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.9161, allocations: 120 kB / 0.6827 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008265/0.917, allocations: 208 kB / 0.6829 GB, free: 8.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008782/0.9258, allocations: 5.651 MB / 0.6885 GB, free: 2.488 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.9367, allocations: 7.069 MB / 0.6954 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.9368, allocations: 11.88 kB / 0.6954 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.9372, allocations: 16 kB / 0.6954 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008736/0.9381, allocations: 0.7052 MB / 0.6961 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03427/0.9724, allocations: 27.44 MB / 0.7229 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.9752, allocations: 1.975 MB / 0.7248 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001759/0.9769, allocations: 1.476 MB / 0.7262 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.9882, allocations: 8.352 MB / 0.7344 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.9883, allocations: 51.28 kB / 0.7345 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=84): time 3.346e-06/0.9883, allocations: 0 / 0.7345 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=99): time 0.01674/1.005, allocations: 6.08 MB / 0.7404 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.005, allocations: 64.41 kB / 0.7405 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/1.008, allocations: 2.03 MB / 0.7424 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.008, allocations: 25.7 kB / 0.7425 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.009, allocations: 2.072 MB / 0.7445 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/1.01, allocations: 379.1 kB / 0.7448 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.01, allocations: 0 / 0.7448 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000243/1.01, allocations: 465.9 kB / 0.7453 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.012, allocations: 1.265 MB / 0.7465 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/1.015, allocations: 3.356 MB / 0.7498 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1392/1.154, allocations: 2.053 MB / 0.7518 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-05/1.155, allocations: 25.44 kB / 0.7518 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.007149/1.162, allocations: 4.264 MB / 0.756 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.162, allocations: 7.875 kB / 0.756 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-05/1.162, allocations: 81.06 kB / 0.7561 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.774e-05/1.162, allocations: 113.2 kB / 0.7562 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.165, allocations: 0.8705 MB / 0.757 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.332e-05/1.165, allocations: 149.7 kB / 0.7572 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.168, allocations: 136.1 kB / 0.7573 GB, free: 204.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/1.168, allocations: 216.5 kB / 0.7575 GB, free: 204.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (474): * Single equations (assignments): 473 * 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.0004522/1.169, allocations: 322.6 kB / 0.7578 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/1.169, allocations: 198.1 kB / 0.758 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/1.171, allocations: 1.801 MB / 0.7598 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/1.171, allocations: 10.34 kB / 0.7598 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.171, allocations: 0 / 0.7598 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.171, allocations: 3.844 kB / 0.7598 GB, free: 204.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/1.178, allocations: 5.292 MB / 0.765 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.178, allocations: 18.5 kB / 0.765 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.179, allocations: 271.8 kB / 0.7652 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.447e-05/1.179, allocations: 25.12 kB / 0.7653 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.727e-05/1.179, allocations: 21.78 kB / 0.7653 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/1.179, allocations: 34.34 kB / 0.7653 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/1.179, allocations: 26.16 kB / 0.7653 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002352/1.182, allocations: 3.371 MB / 0.7686 GB, free: 200.7 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00247/1.184, allocations: 3.78 MB / 0.7723 GB, free: 198 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/1.185, allocations: 304.8 kB / 0.7726 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/1.185, allocations: 22.77 kB / 0.7726 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.186, allocations: 38.62 kB / 0.7727 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.186, allocations: 116.8 kB / 0.7728 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/1.186, allocations: 52.97 kB / 0.7728 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001812/1.188, allocations: 1.354 MB / 0.7741 GB, free: 197.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003794/1.192, allocations: 0.6082 MB / 0.7747 GB, free: 197.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 144 * 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.0005037/1.193, allocations: 187.4 kB / 0.7749 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003772/1.196, allocations: 2.783 MB / 0.7776 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.196, allocations: 6.562 kB / 0.7776 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/1.197, allocations: 0.8052 MB / 0.7784 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.199, allocations: 259 kB / 0.7787 GB, free: 197.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/1.21, allocations: 5.61 MB / 0.7842 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/1.213, allocations: 2.927 MB / 0.787 GB, free: 194.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.213, allocations: 0 / 0.787 GB, free: 194.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)