Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01322/0.01323, allocations: 163.8 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.928/1.928, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001817/0.001817, allocations: 122.4 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4428/0.4428, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007155, allocations: 16 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1099, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.3717/0.4816, allocations: 36.82 MB / 448.5 MB, free: 29.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.5062, allocations: 8.343 MB / 456.9 MB, free: 25.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00803/0.5143, allocations: 166.6 kB / 457 MB, free: 25.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006436/0.5208, allocations: 1.823 MB / 458.9 MB, free: 25.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02007/0.5409, allocations: 6.28 MB / 465.1 MB, free: 22.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.5444, allocations: 0.5084 MB / 465.6 MB, free: 22.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007704/0.5521, allocations: 4.759 MB / 470.4 MB, free: 20.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009132/0.5613, allocations: 4.335 MB / 474.7 MB, free: 18.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.5643, allocations: 1.242 MB / 476 MB, free: 18.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/0.5688, allocations: 2.009 MB / 478 MB, free: 17.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.5701, allocations: 163.5 kB / 478.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.5737, allocations: 0.9309 MB / 479.1 MB, free: 17.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003502/0.5773, allocations: 1.816 MB / 480.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002/0.5793, allocations: 0.9408 MB / 481.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009978/0.5894, allocations: 6.319 MB / 488.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5894, allocations: 5.656 kB / 488.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.5894, allocations: 0 / 488.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003227/0.5898, allocations: 3.938 kB / 488.2 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.01631/0.6061, allocations: 4.484 MB / 492.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.6062, allocations: 8.562 kB / 492.7 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003452/0.6096, allocations: 0.8776 MB / 493.5 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/0.6321, allocations: 3.291 MB / 496.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009129/0.6413, allocations: 2.735 MB / 499.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003238/0.6417, allocations: 266.8 kB / 499.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002088/0.6438, allocations: 355.7 kB / 0.4884 GB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/0.6789, allocations: 12.56 MB / 0.5007 GB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.6792, allocations: 35.7 kB / 0.5007 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/0.6811, allocations: 163.8 kB / 0.5009 GB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008424/0.6896, allocations: 2.747 MB / 0.5036 GB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03711/0.7268, allocations: 11.49 MB / 0.5148 GB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09965/0.8265, allocations: 40.11 MB / 0.554 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02669/0.8532, allocations: 4.898 MB / 0.5588 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009256/0.8625, allocations: 2.386 MB / 0.5611 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03113/0.8937, allocations: 6.501 MB / 0.5674 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.77e-05/0.8939, allocations: 52.56 kB / 0.5675 GB, free: 1.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 9.207e-06/0.8939, allocations: 0 / 0.5675 GB, free: 1.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.3992/1.293, allocations: 19.04 MB / 0.5861 GB, free: 127.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.293, allocations: 73.16 kB / 0.5861 GB, free: 127.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00826/1.301, allocations: 3.171 MB / 0.5892 GB, free: 127.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006544/1.302, allocations: 57.05 kB / 0.5893 GB, free: 127 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.305, allocations: 3.287 MB / 0.5925 GB, free: 125.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.307, allocations: 0.9417 MB / 0.5934 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/1.308, allocations: 121.6 kB / 0.5935 GB, free: 124.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005803/1.308, allocations: 0.5691 MB / 0.5941 GB, free: 124.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0066/1.315, allocations: 2.468 MB / 0.5965 GB, free: 123.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009574/1.325, allocations: 5.843 MB / 0.6022 GB, free: 118.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009118/1.334, allocations: 3.784 MB / 0.6059 GB, free: 116.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.334, allocations: 34.41 kB / 0.6059 GB, free: 116.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.0357/1.37, allocations: 10.1 MB / 0.6158 GB, free: 113.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.37, allocations: 55.88 kB / 0.6159 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/1.37, allocations: 117.2 kB / 0.616 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01849/1.389, allocations: 2.415 MB / 0.6183 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/1.399, allocations: 1.357 MB / 0.6197 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0351/1.434, allocations: 10.73 MB / 0.6301 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/1.441, allocations: 338.5 kB / 0.6305 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001412/1.443, allocations: 358.2 kB / 0.6308 GB, free: 108 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.006951/1.45, allocations: 2.427 MB / 0.6332 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008164/1.451, allocations: 307.8 kB / 0.6335 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.464, allocations: 4.649 MB / 0.638 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001126/1.464, allocations: 51.45 kB / 0.638 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.464, allocations: 0 / 0.638 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/1.464, allocations: 11.06 kB / 0.6381 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/1.496, allocations: 10.84 MB / 0.6486 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/1.496, allocations: 8.031 kB / 0.6487 GB, free: 96.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00387/1.5, allocations: 415.4 kB / 0.649 GB, free: 95.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00371/1.504, allocations: 0.7 MB / 0.6497 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006223/1.504, allocations: 49.08 kB / 0.6498 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/1.508, allocations: 2.413 MB / 0.6521 GB, free: 92.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.508, allocations: 9.438 kB / 0.6521 GB, free: 92.44 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.525, allocations: 7.123 MB / 0.6591 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.526, allocations: 353 kB / 0.6594 GB, free: 84.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.527, allocations: 44.62 kB / 0.6595 GB, free: 84.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.529, allocations: 150.6 kB / 0.6596 GB, free: 84.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/1.53, allocations: 137.7 kB / 0.6598 GB, free: 84.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/1.53, allocations: 67.98 kB / 0.6598 GB, free: 84.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003916/1.534, allocations: 1.916 MB / 0.6617 GB, free: 82.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.534, allocations: 0 / 0.6617 GB, free: 82.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007178/1.541, allocations: 1.129 MB / 0.6628 GB, free: 81.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (206): * Single equations (assignments): 197 * 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.01678/1.558, allocations: 7.797 MB / 0.6704 GB, free: 73.49 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1984:5-1986:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1990:5-1992:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1987:5-1989: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.01722/1.576, allocations: 6.141 MB / 0.6764 GB, free: 67.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.576, allocations: 0 / 0.6764 GB, free: 67.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007335/1.583, allocations: 2.525 MB / 0.6789 GB, free: 64.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005224/1.588, allocations: 465.4 kB / 0.6793 GB, free: 64.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08855/1.677, allocations: 35.82 MB / 0.7143 GB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007413/1.684, allocations: 3.873 MB / 0.7181 GB, free: 21.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008278/1.693, allocations: 2.06 MB / 0.7201 GB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004754/1.697, allocations: 2.132 MB / 0.7222 GB, free: 17.55 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.697, allocations: 3.938 kB / 0.7222 GB, free: 17.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5203/2.218, allocations: 81.32 MB / 0.8016 GB, free: 86.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/2.218, allocations: 225.2 kB / 0.8018 GB, free: 86.06 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/7.837, allocations: 8 kB / 0.8018 GB, free: 86.05 MB / 426.7 MB