Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 184.1 kB / 8.52 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.4 MB / 230.3 MB, free: 7.645 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009118/0.0009115, allocations: 83.98 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1635/0.1635, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.3414, allocations: 68.03 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.4323, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2641/0.6964, allocations: 104.8 MB / 0.5965 GB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.6967, allocations: 67.97 kB / 0.5966 GB, free: 7.816 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.2411/0.9378, allocations: 95.93 MB / 0.6903 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9379, allocations: 11.94 kB / 0.6903 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.9507, allocations: 2.864 MB / 0.6931 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1339/1.085, allocations: 4.659 MB / 0.6976 GB, free: 173 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.085, allocations: 147.9 kB / 0.6978 GB, free: 173 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/1.087, allocations: 264.7 kB / 0.698 GB, free: 173 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009377/1.096, allocations: 8.017 MB / 0.7058 GB, free: 173 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/1.107, allocations: 10.48 MB / 0.7161 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/1.107, allocations: 27.44 kB / 0.7161 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005378/1.108, allocations: 16.91 kB / 0.7161 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001045/1.109, allocations: 1.274 MB / 0.7174 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03543/1.144, allocations: 35.49 MB / 0.752 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/1.147, allocations: 2.417 MB / 0.7544 GB, free: 154 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/1.149, allocations: 2.173 MB / 0.7565 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/1.16, allocations: 9.363 MB / 0.7657 GB, free: 148 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/1.16, allocations: 48.75 kB / 0.7657 GB, free: 148 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=204): time 3.887e-06/1.16, allocations: 0 / 0.7657 GB, free: 148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=222): time 0.01891/1.179, allocations: 8.729 MB / 0.7742 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/1.179, allocations: 69.41 kB / 0.7743 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/1.182, allocations: 2.714 MB / 0.7769 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.182, allocations: 25.7 kB / 0.777 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009702/1.183, allocations: 3.08 MB / 0.78 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/1.183, allocations: 0.8237 MB / 0.7808 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/1.184, allocations: 0 / 0.7808 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.184, allocations: 0.5688 MB / 0.7813 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/1.186, allocations: 2.292 MB / 0.7836 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/1.19, allocations: 5.703 MB / 0.7891 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/1.193, allocations: 3.69 MB / 0.7927 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/1.193, allocations: 32 kB / 0.7928 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01223/1.206, allocations: 7.999 MB / 0.8006 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.206, allocations: 4 kB / 0.8006 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.164e-05/1.206, allocations: 120 kB / 0.8007 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/1.209, allocations: 0.9441 MB / 0.8016 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/1.213, allocations: 1.373 MB / 0.803 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/1.215, allocations: 2.36 MB / 0.8053 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/1.219, allocations: 167.4 kB / 0.8054 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004133/1.219, allocations: 366.9 kB / 0.8058 GB, free: 114.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (762): * Single equations (assignments): 753 * 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 prepare postOptimizeDAE: time 0.0005867/1.22, allocations: 421.4 kB / 0.8062 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/1.22, allocations: 288.2 kB / 0.8065 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007143/1.227, allocations: 4.34 MB / 0.8107 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/1.227, allocations: 35.28 kB / 0.8107 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.227, allocations: 4 kB / 0.8107 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.227, allocations: 7.172 kB / 0.8107 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.241, allocations: 8.662 MB / 0.8192 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.241, allocations: 4 kB / 0.8192 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/1.243, allocations: 313 kB / 0.8195 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003232/1.246, allocations: 0.767 MB / 0.8203 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/1.246, allocations: 19.69 kB / 0.8203 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.248, allocations: 2.134 MB / 0.8224 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.248, allocations: 0 / 0.8224 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008942/1.257, allocations: 6.619 MB / 0.8288 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01139/1.269, allocations: 9.392 MB / 0.838 GB, free: 85.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006475/1.269, allocations: 337.2 kB / 0.8383 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/1.27, allocations: 8 kB / 0.8383 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.271, allocations: 55.91 kB / 0.8384 GB, free: 85.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.271, allocations: 89.84 kB / 0.8385 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.271, allocations: 63.83 kB / 0.8385 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002133/1.273, allocations: 1.79 MB / 0.8403 GB, free: 83.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004537/1.278, allocations: 0.8956 MB / 0.8411 GB, free: 82.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 165 * 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.0003811/1.278, allocations: 158.7 kB / 0.8413 GB, free: 82.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007723/1.286, allocations: 5.804 MB / 0.847 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.286, allocations: 0 / 0.847 GB, free: 76.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.29, allocations: 2.282 MB / 0.8492 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.292, allocations: 340.4 kB / 0.8495 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.305, allocations: 8.924 MB / 0.8582 GB, free: 65.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004245/1.309, allocations: 3.955 MB / 0.8621 GB, free: 61.08 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/1.309, allocations: 0 / 0.8621 GB, free: 61.08 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)