Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.01204/0.01204, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001834/0.001834, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.721/1.721, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3585/0.3585, allocations: 38 MB / 307.9 MB, free: 10.11 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.1. 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.001993/0.001993, allocations: 67.91 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01322/0.3523, allocations: 14.5 MB / 0.4922 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3644, allocations: 4.511 MB / 0.4966 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/0.3688, allocations: 81.88 kB / 0.4966 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005091/0.374, allocations: 2.383 MB / 0.499 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.3816, allocations: 2.053 MB / 0.501 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.3836, allocations: 0.59 MB / 0.5016 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007759/0.3913, allocations: 4.306 MB / 0.5058 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005052/0.3964, allocations: 3.709 MB / 0.5094 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003293/0.3997, allocations: 1.652 MB / 0.511 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.403, allocations: 2.271 MB / 0.5132 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009115/0.4039, allocations: 372.2 kB / 0.5136 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.4073, allocations: 1.229 MB / 0.5148 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.4102, allocations: 2.125 MB / 0.5168 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003212/0.4135, allocations: 2.524 MB / 0.5193 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.4267, allocations: 8.299 MB / 0.5274 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.4268, allocations: 4 kB / 0.5274 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4268, allocations: 0 / 0.5274 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000285/0.4271, allocations: 0 / 0.5274 GB, free: 0.7617 MB / 398.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.01326/0.4403, allocations: 5.476 MB / 0.5328 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4404, allocations: 11.89 kB / 0.5328 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.4509, allocations: 3.192 MB / 0.5359 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007366/0.4583, allocations: 2.41 MB / 0.5382 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/0.4589, allocations: 271.3 kB / 0.5385 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/0.4618, allocations: 367.6 kB / 0.5389 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/0.4887, allocations: 12.7 MB / 0.5513 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.4889, allocations: 39.59 kB / 0.5513 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.4906, allocations: 167.8 kB / 0.5515 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0045/0.4951, allocations: 2.766 MB / 0.5542 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/0.5202, allocations: 11.62 MB / 0.5655 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/0.5925, allocations: 40.35 MB / 0.6049 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.6043, allocations: 5.006 MB / 0.6098 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.6083, allocations: 2.417 MB / 0.6122 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/0.6211, allocations: 6.866 MB / 0.6189 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.916e-05/0.6212, allocations: 56.44 kB / 0.6189 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 6.943e-06/0.6213, allocations: 0 / 0.6189 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of matching and sorting (n=259): time 0.3282/0.9495, allocations: 19.34 MB / 0.6378 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.9495, allocations: 76.66 kB / 0.6379 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005499/0.955, allocations: 3.213 MB / 0.641 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004323/0.9555, allocations: 57.42 kB / 0.6411 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.9575, allocations: 3.31 MB / 0.6443 GB, free: 121.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.9586, allocations: 0.9624 MB / 0.6452 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.9603, allocations: 1.261 MB / 0.6465 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.9603, allocations: 309.5 kB / 0.6468 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003993/0.9643, allocations: 2.509 MB / 0.6492 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/0.9698, allocations: 5.922 MB / 0.655 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.9814, allocations: 9.156 MB / 0.6639 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002043/0.9817, allocations: 34.53 kB / 0.664 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02377/1.005, allocations: 10.21 MB / 0.6739 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/1.006, allocations: 57.34 kB / 0.674 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/1.006, allocations: 122.9 kB / 0.6741 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008378/1.014, allocations: 2.375 MB / 0.6764 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/1.019, allocations: 1.376 MB / 0.6778 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.034, allocations: 11.68 MB / 0.6892 GB, free: 96.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/1.04, allocations: 329.3 kB / 0.6895 GB, free: 96.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007651/1.041, allocations: 364.7 kB / 0.6898 GB, free: 96.7 MB / 0.4981 GB 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.003582/1.044, allocations: 2.448 MB / 0.6922 GB, free: 95.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/1.045, allocations: 308 kB / 0.6925 GB, free: 94.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006216/1.051, allocations: 4.701 MB / 0.6971 GB, free: 90.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-05/1.051, allocations: 51.98 kB / 0.6972 GB, free: 90.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.051, allocations: 4 kB / 0.6972 GB, free: 90.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/1.051, allocations: 11.91 kB / 0.6972 GB, free: 90.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/1.071, allocations: 10.98 MB / 0.7079 GB, free: 79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/1.071, allocations: 4 kB / 0.7079 GB, free: 79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.073, allocations: 423.4 kB / 0.7083 GB, free: 78.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/1.075, allocations: 0.7009 MB / 0.709 GB, free: 77.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003254/1.075, allocations: 63.34 kB / 0.7091 GB, free: 77.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/1.077, allocations: 2.559 MB / 0.7116 GB, free: 75.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.077, allocations: 8 kB / 0.7116 GB, free: 75.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009032/1.086, allocations: 7.218 MB / 0.7186 GB, free: 67.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/1.087, allocations: 349 kB / 0.7189 GB, free: 67.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007799/1.088, allocations: 47.44 kB / 0.719 GB, free: 67.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.09, allocations: 139.8 kB / 0.7191 GB, free: 67.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.09, allocations: 145.8 kB / 0.7193 GB, free: 67.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.09, allocations: 75.97 kB / 0.7193 GB, free: 66.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002912/1.093, allocations: 1.948 MB / 0.7212 GB, free: 65.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/1.093, allocations: 0 / 0.7212 GB, free: 65.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005704/1.099, allocations: 1.146 MB / 0.7224 GB, free: 63.91 MB / 0.4981 GB 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.0006068/1.1, allocations: 202.1 kB / 0.7226 GB, free: 63.71 MB / 0.4981 GB [/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.008854/1.109, allocations: 6.273 MB / 0.7287 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.109, allocations: 4 kB / 0.7287 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003943/1.113, allocations: 2.564 MB / 0.7312 GB, free: 54.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/1.116, allocations: 497.2 kB / 0.7317 GB, free: 54.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.135, allocations: 11.28 MB / 0.7427 GB, free: 43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00323/1.138, allocations: 3.805 MB / 0.7464 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003942/1.142, allocations: 2.076 MB / 0.7484 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/1.143, allocations: 247.4 kB / 0.7487 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/1.143, allocations: 0 / 0.7487 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.06172/1.204, allocations: 40.02 MB / 0.7877 GB, free: 12.87 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)