Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",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.001384/0.001383, allocations: 187.9 kB / 7.801 MB, free: 2.5 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.471/1.471, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008968/0.0008964, allocations: 95.5 kB / 261.4 MB, free: 13.56 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.1896/0.1896, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2101/0.3998, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.7404, allocations: 58.84 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.8858, allocations: 103.6 MB / 0.5666 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.8861, allocations: 71.47 kB / 0.5667 GB, free: 11.23 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.4894/1.376, allocations: 93.46 MB / 0.658 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.376, allocations: 14.19 kB / 0.658 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.39, allocations: 2.871 MB / 0.6608 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01228/1.403, allocations: 4.745 MB / 0.6654 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/1.403, allocations: 141 kB / 0.6656 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/1.405, allocations: 261.5 kB / 0.6658 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01366/1.419, allocations: 8.116 MB / 0.6737 GB, free: 106.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/1.442, allocations: 10.56 MB / 0.6841 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/1.442, allocations: 27.7 kB / 0.6841 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008108/1.443, allocations: 13.53 kB / 0.6841 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00165/1.444, allocations: 1.333 MB / 0.6854 GB, free: 102.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05965/1.504, allocations: 35.95 MB / 0.7205 GB, free: 81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/1.508, allocations: 2.747 MB / 0.7232 GB, free: 78.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002752/1.511, allocations: 2.3 MB / 0.7254 GB, free: 76.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/1.527, allocations: 9.729 MB / 0.7349 GB, free: 67.47 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.527, allocations: 48.86 kB / 0.735 GB, free: 67.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 5.71e-06/1.527, allocations: 4 kB / 0.735 GB, free: 67.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=234): time 0.02967/1.557, allocations: 11.16 MB / 0.7459 GB, free: 57.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.557, allocations: 73.41 kB / 0.746 GB, free: 57.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.562, allocations: 2.66 MB / 0.7486 GB, free: 55.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005516/1.563, allocations: 25.7 kB / 0.7486 GB, free: 55.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.565, allocations: 3.036 MB / 0.7515 GB, free: 52.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.566, allocations: 0.8673 MB / 0.7524 GB, free: 51.24 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007254/1.567, allocations: 0 / 0.7524 GB, free: 51.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005765/1.567, allocations: 0.5706 MB / 0.7529 GB, free: 50.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/1.571, allocations: 2.363 MB / 0.7553 GB, free: 48.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005891/1.577, allocations: 5.756 MB / 0.7609 GB, free: 40.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005438/1.582, allocations: 3.762 MB / 0.7646 GB, free: 37.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/1.583, allocations: 32 kB / 0.7646 GB, free: 37.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.01736/1.6, allocations: 8.127 MB / 0.7725 GB, free: 28.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.6, allocations: 4 kB / 0.7725 GB, free: 28.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.6, allocations: 120 kB / 0.7726 GB, free: 28.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.604, allocations: 0.9077 MB / 0.7735 GB, free: 27.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005476/1.609, allocations: 1.408 MB / 0.7749 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/1.611, allocations: 2.351 MB / 0.7772 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005475/1.617, allocations: 179 kB / 0.7774 GB, free: 23.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.618, allocations: 375.9 kB / 0.7777 GB, free: 23.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 548 * 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],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 (769): * Single equations (assignments): 760 * 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 {(3,100.0%),(2,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 prepare postOptimizeDAE: time 0.001846/1.62, allocations: 407.7 kB / 0.7781 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008034/1.621, allocations: 288.2 kB / 0.7784 GB, free: 22.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.631, allocations: 4.56 MB / 0.7828 GB, free: 18.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-05/1.632, allocations: 39.94 kB / 0.7829 GB, free: 18.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/1.632, allocations: 4 kB / 0.7829 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/1.632, allocations: 11.95 kB / 0.7829 GB, free: 18.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/1.651, allocations: 8.83 MB / 0.7915 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.651, allocations: 288 / 0.7915 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/1.653, allocations: 355.5 kB / 0.7919 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/1.656, allocations: 0.5369 MB / 0.7924 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/1.656, allocations: 23.97 kB / 0.7924 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/1.658, allocations: 1.935 MB / 0.7943 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.667e-06/1.658, allocations: 12 kB / 0.7943 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01066/1.669, allocations: 6.773 MB / 0.8009 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01515/1.684, allocations: 9.608 MB / 0.8103 GB, free: 5.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.685, allocations: 337.3 kB / 0.8106 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000999/1.686, allocations: 12 kB / 0.8106 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.688, allocations: 59.84 kB / 0.8107 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.688, allocations: 105.7 kB / 0.8108 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.689, allocations: 71.97 kB / 0.8109 GB, free: 5.035 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.003943/1.693, allocations: 1.748 MB / 0.8126 GB, free: 3.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007322/1.7, allocations: 0.9023 MB / 0.8134 GB, free: 2.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.0008698/1.701, allocations: 151.5 kB / 0.8136 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.713, allocations: 5.912 MB / 0.8194 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.713, allocations: 0 / 0.8194 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/1.718, allocations: 2.271 MB / 0.8216 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/1.72, allocations: 282.9 kB / 0.8219 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.744, allocations: 9.003 MB / 0.8306 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1967/1.941, allocations: 3.951 MB / 0.8345 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/1.941, allocations: 0 / 0.8345 GB, free: 179.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)