Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2",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.001076/0.001076, allocations: 185.9 kB / 7.8 MB, free: 2.496 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.174/1.174, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0009607/0.0009607, allocations: 92.36 kB / 261.4 MB, free: 13.61 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.1895/0.1895, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2077/0.3973, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.734, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.8909, allocations: 104.6 MB / 0.5676 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.8912, allocations: 71.25 kB / 0.5677 GB, free: 10.18 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: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.5861/1.477, allocations: 131.1 MB / 0.6957 GB, free: 104.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.477, allocations: 10.09 kB / 0.6958 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/1.506, allocations: 5.593 MB / 0.7012 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02808/1.534, allocations: 8.686 MB / 0.7097 GB, free: 97.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000634/1.535, allocations: 188 kB / 0.7099 GB, free: 97.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004408/1.539, allocations: 347.8 kB / 0.7102 GB, free: 97.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.021/1.56, allocations: 10.95 MB / 0.7209 GB, free: 86.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03574/1.596, allocations: 14.1 MB / 0.7347 GB, free: 71.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000513/1.597, allocations: 59.41 kB / 0.7347 GB, free: 71.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003511/1.6, allocations: 20 kB / 0.7347 GB, free: 71.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00306/1.603, allocations: 1.814 MB / 0.7365 GB, free: 69.54 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08501/1.688, allocations: 55.01 MB / 0.7902 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/1.696, allocations: 5.792 MB / 0.7959 GB, free: 8.113 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006196/1.702, allocations: 5.135 MB / 0.8009 GB, free: 2.969 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03763/1.74, allocations: 18.26 MB / 0.8187 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.221e-05/1.74, allocations: 60.83 kB / 0.8188 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 1.009e-05/1.74, allocations: 0 / 0.8188 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=389): time 0.2863/2.026, allocations: 33.98 MB / 0.852 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/2.026, allocations: 112.7 kB / 0.8521 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005871/2.032, allocations: 3.799 MB / 0.8558 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007684/2.033, allocations: 25.7 kB / 0.8558 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002022/2.035, allocations: 3.746 MB / 0.8595 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/2.036, allocations: 1.36 MB / 0.8608 GB, free: 173 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/2.037, allocations: 6.188 kB / 0.8608 GB, free: 173 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003809/2.037, allocations: 0.6503 MB / 0.8615 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/2.042, allocations: 3.908 MB / 0.8653 GB, free: 172.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007067/2.049, allocations: 7.937 MB / 0.873 GB, free: 166 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007573/2.057, allocations: 5.609 MB / 0.8785 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.156e-05/2.057, allocations: 37.91 kB / 0.8785 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.0252/2.082, allocations: 13.36 MB / 0.8916 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/2.082, allocations: 6.688 kB / 0.8916 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003211/2.083, allocations: 141 kB / 0.8917 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008434/2.091, allocations: 2.432 MB / 0.8941 GB, free: 160.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008717/2.1, allocations: 1.918 MB / 0.896 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01747/2.117, allocations: 12.48 MB / 0.9082 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008767/2.126, allocations: 254.9 kB / 0.9084 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/2.128, allocations: 458.7 kB / 0.9088 GB, free: 152.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 48 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (971): * Single equations (assignments): 963 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001517/2.13, allocations: 480.6 kB / 0.9093 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/2.131, allocations: 454.1 kB / 0.9097 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/2.147, allocations: 9.549 MB / 0.9191 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.765e-05/2.147, allocations: 46.53 kB / 0.9191 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/2.147, allocations: 12 kB / 0.9191 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/2.147, allocations: 20.41 kB / 0.9191 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03345/2.18, allocations: 17.7 MB / 0.9364 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/2.18, allocations: 4.094 kB / 0.9364 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003346/2.184, allocations: 0.6455 MB / 0.937 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007318/2.191, allocations: 2.188 MB / 0.9392 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005595/2.192, allocations: 15.94 kB / 0.9392 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/2.206, allocations: 11.38 MB / 0.9503 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/2.206, allocations: 7.938 kB / 0.9503 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02572/2.232, allocations: 14.59 MB / 0.9646 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02844/2.26, allocations: 20.02 MB / 0.9841 GB, free: 82.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003684/2.264, allocations: 1.116 MB / 0.9852 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001811/2.266, allocations: 8 kB / 0.9852 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.27, allocations: 143.8 kB / 0.9854 GB, free: 81.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007113/2.27, allocations: 174.2 kB / 0.9855 GB, free: 81.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005449/2.271, allocations: 99.98 kB / 0.9856 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.006383/2.277, allocations: 2.566 MB / 0.9881 GB, free: 78.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01153/2.289, allocations: 1.439 MB / 0.9895 GB, free: 77.42 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,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 (306): * Single equations (assignments): 298 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 29,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/2.29, allocations: 173.4 kB / 0.9897 GB, free: 77.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01527/2.305, allocations: 9.416 MB / 0.9989 GB, free: 67.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.305, allocations: 4.062 kB / 0.9989 GB, free: 67.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005523/2.311, allocations: 3.965 MB / 1.003 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/2.315, allocations: 467.5 kB / 1.003 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.348, allocations: 12.99 MB / 1.016 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/2.359, allocations: 5.103 MB / 1.021 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/2.359, allocations: 0 / 1.021 GB, free: 45.16 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1)