Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008898, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007677/0.007677, allocations: 169.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4114/0.4114, allocations: 40 MB / 310.7 MB, free: 9.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005751/0.0005753, allocations: 16.56 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1594, allocations: 57.97 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.3658/0.5253, allocations: 41.22 MB / 478.6 MB, free: 27.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.55, allocations: 9.142 MB / 487.8 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01567/0.5657, allocations: 174.7 kB / 487.9 MB, free: 22.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.5685, allocations: 0.5392 MB / 488.5 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007754/0.5763, allocations: 1.889 MB / 490.4 MB, free: 21.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.5784, allocations: 0.5339 MB / 490.9 MB, free: 21.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008339/0.5868, allocations: 6.145 MB / 497.1 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007844/0.5947, allocations: 4.83 MB / 0.4901 GB, free: 17.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.5985, allocations: 1.199 MB / 0.4913 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.6034, allocations: 2.081 MB / 0.4933 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.6046, allocations: 165.8 kB / 0.4935 GB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.6084, allocations: 1.097 MB / 0.4946 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003199/0.6116, allocations: 1.899 MB / 0.4964 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004409/0.616, allocations: 2.274 MB / 0.4986 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.6306, allocations: 7.641 MB / 0.5061 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.6306, allocations: 1.062 kB / 0.5061 GB, free: 11.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6306, allocations: 0 / 0.5061 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004231/0.6311, allocations: 3.938 kB / 0.5061 GB, free: 11.1 MB / 382.1 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.01595/0.647, allocations: 4.465 MB / 0.5105 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6471, allocations: 9.906 kB / 0.5105 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.6606, allocations: 3.293 MB / 0.5137 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/0.6682, allocations: 2.386 MB / 0.516 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005418/0.6688, allocations: 270.2 kB / 0.5163 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004144/0.6729, allocations: 365.7 kB / 0.5166 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03749/0.7105, allocations: 12.71 MB / 0.529 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.7107, allocations: 35.7 kB / 0.5291 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000934/0.7117, allocations: 159.8 kB / 0.5292 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005321/0.717, allocations: 2.762 MB / 0.5319 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02846/0.7455, allocations: 11.65 MB / 0.5433 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08358/0.8291, allocations: 40.57 MB / 0.5829 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.8418, allocations: 5.013 MB / 0.5878 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004262/0.8461, allocations: 2.422 MB / 0.5902 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/0.8612, allocations: 6.862 MB / 0.5969 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/0.8614, allocations: 52.56 kB / 0.5969 GB, free: 2.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 7.204e-06/0.8614, allocations: 0 / 0.5969 GB, free: 2.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=259): time 0.06099/0.9224, allocations: 19.41 MB / 0.6159 GB, free: 14.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.9225, allocations: 77.34 kB / 0.6159 GB, free: 14.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008173/0.9307, allocations: 3.21 MB / 0.6191 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006836/0.9314, allocations: 57.7 kB / 0.6191 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/0.9346, allocations: 3.301 MB / 0.6224 GB, free: 7.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001769/0.9364, allocations: 0.9713 MB / 0.6233 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.9382, allocations: 0.547 MB / 0.6238 GB, free: 6.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9383, allocations: 301.1 kB / 0.6241 GB, free: 6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00518/0.9435, allocations: 2.511 MB / 0.6266 GB, free: 3.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3032/1.247, allocations: 5.924 MB / 0.6324 GB, free: 140.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.258, allocations: 9.152 MB / 0.6413 GB, free: 135.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001977/1.259, allocations: 35.88 kB / 0.6413 GB, free: 135.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02348/1.282, allocations: 10.22 MB / 0.6513 GB, free: 132.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.282, allocations: 56.8 kB / 0.6514 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/1.282, allocations: 118.9 kB / 0.6515 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008853/1.291, allocations: 2.374 MB / 0.6538 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004997/1.296, allocations: 1.379 MB / 0.6551 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/1.315, allocations: 10.73 MB / 0.6656 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.32, allocations: 333.2 kB / 0.6659 GB, free: 126.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.321, allocations: 361 kB / 0.6663 GB, free: 126.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 739 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,5), (3,27)} Notification: Performance of prepare postOptimizeDAE: time 0.006153/1.327, allocations: 2.449 MB / 0.6687 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/1.328, allocations: 307.5 kB / 0.669 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009411/1.337, allocations: 4.701 MB / 0.6736 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.732e-05/1.338, allocations: 52.11 kB / 0.6736 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/1.338, allocations: 1.781 kB / 0.6736 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/1.338, allocations: 14.08 kB / 0.6736 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.358, allocations: 11.02 MB / 0.6844 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.358, allocations: 7.281 kB / 0.6844 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.359, allocations: 423.2 kB / 0.6848 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/1.361, allocations: 0.7055 MB / 0.6855 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/1.362, allocations: 59.14 kB / 0.6855 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/1.364, allocations: 2.415 MB / 0.6879 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.364, allocations: 5.531 kB / 0.6879 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009289/1.373, allocations: 7.221 MB / 0.695 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/1.374, allocations: 357.5 kB / 0.6953 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003835/1.375, allocations: 47.44 kB / 0.6953 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.376, allocations: 145.4 kB / 0.6955 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/1.376, allocations: 139.1 kB / 0.6956 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.376, allocations: 75.45 kB / 0.6957 GB, free: 113.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002811/1.379, allocations: 1.949 MB / 0.6976 GB, free: 111.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.31e-07/1.379, allocations: 0 / 0.6976 GB, free: 111.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006536/1.386, allocations: 1.148 MB / 0.6987 GB, free: 110.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 203 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005185/1.386, allocations: 201.6 kB / 0.6989 GB, free: 110.2 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009192/1.396, allocations: 6.235 MB / 0.705 GB, free: 104.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.396, allocations: 0 / 0.705 GB, free: 104.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.399, allocations: 2.565 MB / 0.7075 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004257/1.404, allocations: 460.3 kB / 0.7079 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.425, allocations: 14.17 MB / 0.7218 GB, free: 87.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/1.428, allocations: 3.796 MB / 0.7255 GB, free: 83.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004887/1.433, allocations: 2.088 MB / 0.7275 GB, free: 81.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/1.434, allocations: 243.4 kB / 0.7277 GB, free: 81.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.153e-06/1.434, allocations: 4 kB / 0.7278 GB, free: 81.39 MB / 494.1 MB Notification: Performance of Templates: time 0.06958/1.503, allocations: 40.33 MB / 0.7671 GB, free: 41.17 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) Environment - environmentSimulation: