Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",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.001173/0.001173, allocations: 192 kB / 7.804 MB, free: 2.504 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.129/1.129, 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.0009123/0.0009125, allocations: 88.83 kB / 261.4 MB, free: 13.6 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.1873/0.1873, allocations: 43.48 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1882/0.3755, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.6739, allocations: 58.83 MB / 476.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.8277, allocations: 108.3 MB / 0.5712 GB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.828, allocations: 75.95 kB / 0.5713 GB, free: 6.484 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.5014/1.329, allocations: 101.1 MB / 0.67 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.943e-05/1.33, allocations: 7.25 kB / 0.6701 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/1.346, allocations: 2.916 MB / 0.6729 GB, free: 106.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01547/1.362, allocations: 4.956 MB / 0.6777 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/1.362, allocations: 163 kB / 0.6779 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003422/1.366, allocations: 299.8 kB / 0.6782 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01879/1.384, allocations: 8.725 MB / 0.6867 GB, free: 104.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03406/1.419, allocations: 11.44 MB / 0.6979 GB, free: 99.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004953/1.419, allocations: 38.31 kB / 0.6979 GB, free: 99.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/1.422, allocations: 15.88 kB / 0.6979 GB, free: 99.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/1.425, allocations: 1.416 MB / 0.6993 GB, free: 99.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07319/1.498, allocations: 40.4 MB / 0.7388 GB, free: 66.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/1.503, allocations: 2.977 MB / 0.7417 GB, free: 63.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003458/1.507, allocations: 2.452 MB / 0.7441 GB, free: 60.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.524, allocations: 10.44 MB / 0.7543 GB, free: 49.69 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.524, allocations: 52.56 kB / 0.7543 GB, free: 49.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=237): time 5.4e-06/1.524, allocations: 4 kB / 0.7543 GB, free: 49.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.03638/1.561, allocations: 15.62 MB / 0.7696 GB, free: 33.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/1.561, allocations: 73.41 kB / 0.7696 GB, free: 33.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00567/1.566, allocations: 2.861 MB / 0.7724 GB, free: 30.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005723/1.567, allocations: 25.7 kB / 0.7725 GB, free: 30.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/1.569, allocations: 3.295 MB / 0.7757 GB, free: 27.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/1.57, allocations: 0.9713 MB / 0.7766 GB, free: 26.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/1.571, allocations: 0 / 0.7766 GB, free: 26.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005891/1.572, allocations: 0.5953 MB / 0.7772 GB, free: 25.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/1.576, allocations: 2.586 MB / 0.7797 GB, free: 23.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006446/1.582, allocations: 6.216 MB / 0.7858 GB, free: 15.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/1.589, allocations: 4.087 MB / 0.7898 GB, free: 11.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.589, allocations: 40 kB / 0.7898 GB, free: 11.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.0248/1.614, allocations: 9.746 MB / 0.7994 GB, free: 1.484 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/1.614, allocations: 6.812 kB / 0.7994 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002672/1.615, allocations: 131.9 kB / 0.7995 GB, free: 1.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009752/1.624, allocations: 2.163 MB / 0.8016 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006703/1.631, allocations: 1.478 MB / 0.803 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/1.649, allocations: 9.325 MB / 0.8121 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007082/1.656, allocations: 171.9 kB / 0.8123 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/1.658, allocations: 399.9 kB / 0.8127 GB, free: 3.699 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 586 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (810): * Single equations (assignments): 802 * 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: 0 * Non-linear torn systems: 2 {4 5,3 24} Notification: Performance of prepare postOptimizeDAE: time 0.002608/1.661, allocations: 448.3 kB / 0.8131 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/1.662, allocations: 315.9 kB / 0.8134 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009471/1.672, allocations: 4.854 MB / 0.8182 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-05/1.672, allocations: 43.98 kB / 0.8182 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.672, allocations: 4 kB / 0.8182 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/1.672, allocations: 7.969 kB / 0.8182 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.695, allocations: 9.692 MB / 0.8277 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.695, allocations: 0 / 0.8277 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/1.698, allocations: 415.5 kB / 0.8281 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002218/1.7, allocations: 0.6465 MB / 0.8287 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003152/1.7, allocations: 31.95 kB / 0.8287 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/1.703, allocations: 2.298 MB / 0.831 GB, free: 0.7188 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.703, allocations: 7.812 kB / 0.831 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2366/1.939, allocations: 7.476 MB / 0.8383 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01377/1.953, allocations: 10.63 MB / 0.8487 GB, free: 175 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.955, allocations: 362 kB / 0.849 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.956, allocations: 12.31 kB / 0.849 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002094/1.958, allocations: 61.55 kB / 0.8491 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.958, allocations: 124.9 kB / 0.8492 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.959, allocations: 73.39 kB / 0.8493 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.003965/1.963, allocations: 1.875 MB / 0.8511 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006537/1.969, allocations: 1.027 MB / 0.8521 GB, free: 174.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0005195/1.97, allocations: 161 kB / 0.8523 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.98, allocations: 6.249 MB / 0.8584 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.98, allocations: 0 / 0.8584 GB, free: 174.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004121/1.984, allocations: 2.573 MB / 0.8609 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.986, allocations: 299.4 kB / 0.8612 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/2.004, allocations: 9.712 MB / 0.8706 GB, free: 170.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005236/2.009, allocations: 4.251 MB / 0.8748 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/2.009, allocations: 0 / 0.8748 GB, free: 168.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)