Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001513/0.001513, allocations: 194.8 kB / 8.533 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009391/0.0009392, allocations: 93.55 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1695/0.1695, allocations: 45.13 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1847/0.3543, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08051/0.4348, allocations: 63.25 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.6975, allocations: 105.7 MB / 0.6071 GB, free: 13.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.6977, allocations: 70.66 kB / 0.6071 GB, free: 13.64 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.2479/0.9457, allocations: 96.89 MB / 0.7018 GB, free: 4.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.9457, allocations: 8 kB / 0.7018 GB, free: 4.707 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.96, allocations: 2.856 MB / 0.7046 GB, free: 1.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.9708, allocations: 4.105 MB / 0.7086 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.971, allocations: 148 kB / 0.7087 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.9722, allocations: 271.9 kB / 0.709 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01234/0.9845, allocations: 8.015 MB / 0.7168 GB, free: 5.25 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/1, allocations: 10.48 MB / 0.727 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1, allocations: 43.62 kB / 0.7271 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000591/1.001, allocations: 12 kB / 0.7271 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/1.003, allocations: 1.271 MB / 0.7283 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/1.18, allocations: 35.5 MB / 0.763 GB, free: 182.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/1.183, allocations: 2.416 MB / 0.7654 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002153/1.185, allocations: 2.172 MB / 0.7675 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/1.197, allocations: 9.364 MB / 0.7766 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.197, allocations: 53.28 kB / 0.7767 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=204): time 3.947e-06/1.197, allocations: 3.938 kB / 0.7767 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=222): time 0.01857/1.216, allocations: 8.714 MB / 0.7852 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/1.216, allocations: 68.62 kB / 0.7853 GB, free: 178.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/1.219, allocations: 2.718 MB / 0.7879 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/1.219, allocations: 25.7 kB / 0.7879 GB, free: 178.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00133/1.221, allocations: 3.08 MB / 0.7909 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006766/1.221, allocations: 0.8245 MB / 0.7917 GB, free: 176 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/1.222, allocations: 0 / 0.7917 GB, free: 176 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000261/1.222, allocations: 0.5729 MB / 0.7923 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002638/1.224, allocations: 2.287 MB / 0.7945 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003822/1.228, allocations: 5.708 MB / 0.8001 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/1.232, allocations: 3.681 MB / 0.8037 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.983e-05/1.232, allocations: 36.59 kB / 0.8037 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=815) (initialization): time 0.01254/1.245, allocations: 7.993 MB / 0.8115 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.245, allocations: 3.75 kB / 0.8116 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.593e-05/1.245, allocations: 132.3 kB / 0.8117 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/1.249, allocations: 0.9369 MB / 0.8126 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/1.253, allocations: 1.377 MB / 0.8139 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.255, allocations: 2.352 MB / 0.8162 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.259, allocations: 165.4 kB / 0.8164 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/1.259, allocations: 370.2 kB / 0.8167 GB, free: 167.6 MB / 0.5261 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.0006054/1.26, allocations: 414.1 kB / 0.8171 GB, free: 167.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/1.26, allocations: 293.9 kB / 0.8174 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007251/1.267, allocations: 4.334 MB / 0.8217 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/1.267, allocations: 38.27 kB / 0.8217 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.267, allocations: 0 / 0.8217 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.267, allocations: 10.08 kB / 0.8217 GB, free: 165.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/1.282, allocations: 8.67 MB / 0.8302 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.282, allocations: 7.031 kB / 0.8302 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.284, allocations: 314 kB / 0.8305 GB, free: 161.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/1.287, allocations: 0.7614 MB / 0.8312 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.287, allocations: 15.94 kB / 0.8312 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.289, allocations: 2.137 MB / 0.8333 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.289, allocations: 3.906 kB / 0.8333 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009036/1.298, allocations: 6.62 MB / 0.8398 GB, free: 153 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0111/1.309, allocations: 9.392 MB / 0.849 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/1.31, allocations: 335.6 kB / 0.8493 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/1.31, allocations: 11.44 kB / 0.8493 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.312, allocations: 61.3 kB / 0.8493 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/1.312, allocations: 91.5 kB / 0.8494 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/1.312, allocations: 59.88 kB / 0.8495 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002171/1.314, allocations: 1.788 MB / 0.8512 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004236/1.318, allocations: 0.9021 MB / 0.8521 GB, free: 141.7 MB / 0.5261 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.0003756/1.319, allocations: 161.5 kB / 0.8523 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007679/1.327, allocations: 5.799 MB / 0.8579 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.327, allocations: 0 / 0.8579 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0034/1.33, allocations: 2.287 MB / 0.8602 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.332, allocations: 332.7 kB / 0.8605 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/1.346, allocations: 8.921 MB / 0.8692 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004266/1.35, allocations: 3.954 MB / 0.8731 GB, free: 123 MB / 0.5261 GB Notification: Performance of SimCode: time 8.12e-07/1.35, allocations: 0 / 0.8731 GB, free: 123 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)