Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.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.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion",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.001131/0.001131, allocations: 188.2 kB / 7.804 MB, free: 2.438 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.49/1.49, 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.0009581/0.000958, allocations: 95.22 kB / 261.4 MB, free: 13.53 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.2135/0.2135, allocations: 43.5 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2412/0.4548, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.8036, allocations: 58.84 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.9474, allocations: 101.6 MB / 0.5647 GB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.9477, allocations: 79.47 kB / 0.5647 GB, free: 13.25 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.4743/1.422, allocations: 88.69 MB / 0.6513 GB, free: 109.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/1.422, allocations: 7.875 kB / 0.6514 GB, free: 109.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/1.438, allocations: 2.95 MB / 0.6542 GB, free: 109.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01513/1.453, allocations: 5.003 MB / 0.6591 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/1.453, allocations: 129 kB / 0.6592 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/1.456, allocations: 222.5 kB / 0.6595 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01355/1.469, allocations: 7.454 MB / 0.6667 GB, free: 108.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/1.491, allocations: 9.765 MB / 0.6763 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/1.492, allocations: 32.09 kB / 0.6763 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008642/1.493, allocations: 14.53 kB / 0.6763 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001431/1.494, allocations: 1.267 MB / 0.6776 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05522/1.549, allocations: 34.58 MB / 0.7113 GB, free: 85.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/1.554, allocations: 2.725 MB / 0.714 GB, free: 84.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003783/1.558, allocations: 2.253 MB / 0.7162 GB, free: 83.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01513/1.573, allocations: 9.566 MB / 0.7255 GB, free: 75.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.573, allocations: 47.88 kB / 0.7256 GB, free: 75.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=214): time 7.314e-06/1.573, allocations: 0 / 0.7256 GB, free: 75.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=239): time 0.03283/1.606, allocations: 15.43 MB / 0.7406 GB, free: 62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.606, allocations: 70.02 kB / 0.7407 GB, free: 61.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/1.61, allocations: 2.636 MB / 0.7433 GB, free: 59.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004576/1.611, allocations: 29.7 kB / 0.7433 GB, free: 59.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.612, allocations: 2.796 MB / 0.746 GB, free: 57.03 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001087/1.613, allocations: 0.8639 MB / 0.7469 GB, free: 56.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.614, allocations: 0 / 0.7469 GB, free: 56.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00034/1.614, allocations: 0.5707 MB / 0.7474 GB, free: 55.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/1.617, allocations: 2.544 MB / 0.7499 GB, free: 53.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005161/1.622, allocations: 5.825 MB / 0.7556 GB, free: 46.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005161/1.628, allocations: 3.911 MB / 0.7594 GB, free: 42.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.129e-05/1.628, allocations: 35.94 kB / 0.7595 GB, free: 42.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02296/1.651, allocations: 9.008 MB / 0.7683 GB, free: 33.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/1.651, allocations: 10.88 kB / 0.7683 GB, free: 33.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01224/1.663, allocations: 4.425 MB / 0.7726 GB, free: 28.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009913/1.673, allocations: 1.61 MB / 0.7742 GB, free: 27.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/1.679, allocations: 1.349 MB / 0.7755 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/1.685, allocations: 4.572 MB / 0.78 GB, free: 21.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.691, allocations: 223.8 kB / 0.7802 GB, free: 20.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.693, allocations: 360 kB / 0.7805 GB, free: 20.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (747): * Single equations (assignments): 735 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.694, allocations: 397.9 kB / 0.7809 GB, free: 20.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006924/1.695, allocations: 280.3 kB / 0.7812 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008363/1.703, allocations: 5.028 MB / 0.7861 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007439/1.711, allocations: 4.487 MB / 0.7904 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.711, allocations: 4 kB / 0.7905 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.711, allocations: 7.969 kB / 0.7905 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0214/1.732, allocations: 11.86 MB / 0.802 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.732, allocations: 4 kB / 0.802 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/1.734, allocations: 355.2 kB / 0.8024 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004247/1.739, allocations: 1.014 MB / 0.8034 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004189/1.739, allocations: 31.91 kB / 0.8034 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/1.744, allocations: 4.231 MB / 0.8075 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009463/1.745, allocations: 1.368 MB / 0.8089 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01295/1.758, allocations: 7.935 MB / 0.8166 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01552/1.773, allocations: 11.16 MB / 0.8275 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.774, allocations: 345.3 kB / 0.8278 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/1.775, allocations: 11.98 kB / 0.8279 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.776, allocations: 95.84 kB / 0.8279 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.777, allocations: 109.7 kB / 0.828 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/1.777, allocations: 63.98 kB / 0.8281 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003686/1.78, allocations: 1.736 MB / 0.8298 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006563/1.787, allocations: 0.9922 MB / 0.8308 GB, free: 140 kB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 172 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1856/1.973, allocations: 150.4 kB / 0.8309 GB, free: 186.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.983, allocations: 6.509 MB / 0.8373 GB, free: 185.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.983, allocations: 2.062 kB / 0.8373 GB, free: 185.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004314/1.988, allocations: 2.735 MB / 0.8399 GB, free: 185.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/1.99, allocations: 229.2 kB / 0.8402 GB, free: 185.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/2.009, allocations: 8.932 MB / 0.8489 GB, free: 183.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005262/2.014, allocations: 3.696 MB / 0.8525 GB, free: 182.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/2.014, allocations: 0 / 0.8525 GB, free: 182.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)