Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",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.001123/0.001123, allocations: 192.8 kB / 7.804 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.503/1.503, 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.001006/0.001006, allocations: 89.98 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.213/0.213, allocations: 43.5 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.245/0.4581, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.8441, allocations: 58.83 MB / 476.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.9987, allocations: 102.5 MB / 0.5656 GB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.9991, allocations: 75.47 kB / 0.5657 GB, free: 12.36 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.5425/1.542, allocations: 96.74 MB / 0.6601 GB, free: 106.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/1.542, allocations: 11.28 kB / 0.6602 GB, free: 106.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/1.557, allocations: 2.9 MB / 0.663 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.572, allocations: 4.532 MB / 0.6674 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/1.573, allocations: 142.8 kB / 0.6676 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003176/1.576, allocations: 260 kB / 0.6678 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01662/1.592, allocations: 8.364 MB / 0.676 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/1.623, allocations: 10.91 MB / 0.6866 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003435/1.623, allocations: 42.62 kB / 0.6867 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002894/1.626, allocations: 15.41 kB / 0.6867 GB, free: 101.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/1.628, allocations: 1.418 MB / 0.6881 GB, free: 101.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07061/1.699, allocations: 39.27 MB / 0.7264 GB, free: 75.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00615/1.705, allocations: 5.22 MB / 0.7315 GB, free: 70.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/1.709, allocations: 3.088 MB / 0.7345 GB, free: 67.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01945/1.729, allocations: 11.67 MB / 0.7459 GB, free: 56.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.729, allocations: 49.12 kB / 0.746 GB, free: 56.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=219): time 5.621e-06/1.729, allocations: 0 / 0.746 GB, free: 56.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.03778/1.767, allocations: 16.09 MB / 0.7617 GB, free: 41.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.767, allocations: 69.41 kB / 0.7617 GB, free: 41.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/1.773, allocations: 2.717 MB / 0.7644 GB, free: 38.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006191/1.774, allocations: 25.7 kB / 0.7644 GB, free: 38.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/1.776, allocations: 3.075 MB / 0.7674 GB, free: 35.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.777, allocations: 0.9018 MB / 0.7683 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009344/1.778, allocations: 0 / 0.7683 GB, free: 34.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007198/1.779, allocations: 0.5786 MB / 0.7689 GB, free: 33.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/1.783, allocations: 2.82 MB / 0.7716 GB, free: 31.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005902/1.789, allocations: 6.214 MB / 0.7777 GB, free: 23.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006201/1.796, allocations: 4.224 MB / 0.7818 GB, free: 18.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.796, allocations: 32 kB / 0.7818 GB, free: 18.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.01807/1.814, allocations: 9.481 MB / 0.7911 GB, free: 9.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.814, allocations: 14.72 kB / 0.7911 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002462/1.814, allocations: 120 kB / 0.7912 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/1.818, allocations: 1.277 MB / 0.7925 GB, free: 7.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/1.824, allocations: 1.439 MB / 0.7939 GB, free: 6.516 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009242/1.833, allocations: 6.788 MB / 0.8005 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/1.839, allocations: 247 kB / 0.8008 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/1.841, allocations: 368 kB / 0.8011 GB, free: 15.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (761): * Single equations (assignments): 754 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002337/1.844, allocations: 409.8 kB / 0.8015 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.845, allocations: 296.2 kB / 0.8018 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/1.858, allocations: 5.983 MB / 0.8076 GB, free: 8.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.858, allocations: 43.92 kB / 0.8077 GB, free: 8.277 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/1.858, allocations: 7.875 kB / 0.8077 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.858, allocations: 7.969 kB / 0.8077 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02779/1.886, allocations: 11.31 MB / 0.8187 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.886, allocations: 0 / 0.8187 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.889, allocations: 359.5 kB / 0.8191 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/1.892, allocations: 1.109 MB / 0.8201 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005881/1.893, allocations: 4 kB / 0.8202 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/1.902, allocations: 5.909 MB / 0.8259 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.902, allocations: 0 / 0.8259 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2249/2.126, allocations: 9.064 MB / 0.8348 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01685/2.143, allocations: 12.85 MB / 0.8473 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/2.146, allocations: 0.7867 MB / 0.8481 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000771/2.146, allocations: 3.812 kB / 0.8481 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/2.148, allocations: 103.4 kB / 0.8482 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/2.149, allocations: 97.67 kB / 0.8483 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/2.149, allocations: 63.45 kB / 0.8484 GB, free: 175.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003227/2.152, allocations: 1.786 MB / 0.8501 GB, free: 175.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006037/2.158, allocations: 0.997 MB / 0.8511 GB, free: 175.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005342/2.159, allocations: 152.1 kB / 0.8512 GB, free: 175.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009203/2.168, allocations: 6.614 MB / 0.8577 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/2.168, allocations: 0 / 0.8577 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003425/2.172, allocations: 2.605 MB / 0.8602 GB, free: 174.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/2.173, allocations: 223.9 kB / 0.8604 GB, free: 174 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/2.194, allocations: 9.239 MB / 0.8695 GB, free: 171 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006101/2.2, allocations: 3.962 MB / 0.8733 GB, free: 169.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/2.2, allocations: 0 / 0.8733 GB, free: 169.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)