Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009778/0.009783, allocations: 168.1 kB / 15.13 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.155/2.155, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001902/0.001902, allocations: 120 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2998/0.2998, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 11.22 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 54.88 MB / 461.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.04498/0.1501, allocations: 30.04 MB / 491.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.1715, allocations: 7.14 MB / 498.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006315/0.1779, allocations: 135.7 kB / 498.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005533/0.1835, allocations: 1.412 MB / 499.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.2018, allocations: 5.042 MB / 0.4931 GB, free: 7.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.205, allocations: 0.4953 MB / 0.4936 GB, free: 6.754 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007198/0.2123, allocations: 3.755 MB / 0.4972 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006809/0.2192, allocations: 2.947 MB / 0.5001 GB, free: 15.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002687/0.2219, allocations: 1 MB / 0.5011 GB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003865/0.2258, allocations: 1.581 MB / 0.5026 GB, free: 13.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.2267, allocations: 115.9 kB / 0.5028 GB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.2297, allocations: 0.8426 MB / 0.5036 GB, free: 12.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002852/0.2326, allocations: 1.367 MB / 0.5049 GB, free: 11.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.2341, allocations: 0.6909 MB / 0.5056 GB, free: 10.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007652/0.2417, allocations: 4.427 MB / 0.5099 GB, free: 5.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.2418, allocations: 0 / 0.5099 GB, free: 5.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2418, allocations: 4 kB / 0.5099 GB, free: 5.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001748/0.242, allocations: 0 / 0.5099 GB, free: 5.934 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01063/0.2526, allocations: 3.347 MB / 0.5132 GB, free: 2.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.2527, allocations: 12.03 kB / 0.5132 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002043/0.2548, allocations: 0.5997 MB / 0.5138 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/0.2669, allocations: 1.828 MB / 0.5156 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007524/0.2745, allocations: 2.33 MB / 0.5178 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.2748, allocations: 192.7 kB / 0.518 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.2758, allocations: 247.9 kB / 0.5183 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/0.2974, allocations: 8.32 MB / 0.5264 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.2976, allocations: 35.69 kB / 0.5264 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005653/0.2982, allocations: 123.9 kB / 0.5265 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004396/0.3026, allocations: 1.625 MB / 0.5281 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3356/0.6383, allocations: 6.964 MB / 0.5349 GB, free: 70.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05938/0.6977, allocations: 33.8 MB / 0.5679 GB, free: 45.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.7096, allocations: 3.151 MB / 0.571 GB, free: 43.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003025/0.7127, allocations: 1.433 MB / 0.5724 GB, free: 42.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01007/0.7228, allocations: 4.023 MB / 0.5763 GB, free: 38.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.723, allocations: 47.06 kB / 0.5764 GB, free: 38.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 5.13e-06/0.723, allocations: 4 kB / 0.5764 GB, free: 38.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.07355/0.7965, allocations: 11.31 MB / 0.5874 GB, free: 27.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.7967, allocations: 170.7 kB / 0.5876 GB, free: 26.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/0.8093, allocations: 3.697 MB / 0.5912 GB, free: 23.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004236/0.8098, allocations: 45.55 kB / 0.5913 GB, free: 23.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003654/0.8135, allocations: 2.731 MB / 0.5939 GB, free: 20.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.8148, allocations: 0.4963 MB / 0.5944 GB, free: 19.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.8158, allocations: 104.8 kB / 0.5945 GB, free: 19.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007885/0.8167, allocations: 0.5212 MB / 0.595 GB, free: 19.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006797/0.8235, allocations: 1.669 MB / 0.5966 GB, free: 17.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009948/0.8336, allocations: 5.069 MB / 0.6016 GB, free: 10.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0099/0.8435, allocations: 2.852 MB / 0.6044 GB, free: 8.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001445/0.8437, allocations: 36 kB / 0.6044 GB, free: 7.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.02703/0.8708, allocations: 6.622 MB / 0.6109 GB, free: 1.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.871, allocations: 60 kB / 0.6109 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/0.8713, allocations: 120 kB / 0.6111 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.873, allocations: 341.3 kB / 0.6114 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/0.8845, allocations: 1.22 MB / 0.6126 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.891, allocations: 2.325 MB / 0.6148 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00901/0.9001, allocations: 284.6 kB / 0.6151 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/0.9018, allocations: 336.8 kB / 0.6154 GB, free: 12.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (654): * Single equations (assignments): 650 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0072/0.909, allocations: 1.771 MB / 0.6172 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/0.9103, allocations: 304 kB / 0.6175 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.9221, allocations: 2.339 MB / 0.6197 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/0.9222, allocations: 16.78 kB / 0.6198 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.9222, allocations: 4 kB / 0.6198 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.9222, allocations: 7.969 kB / 0.6198 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/0.9433, allocations: 5.848 MB / 0.6255 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/0.9433, allocations: 0 / 0.6255 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.945, allocations: 167.8 kB / 0.6256 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004334/0.9494, allocations: 0.7154 MB / 0.6263 GB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.9497, allocations: 20 kB / 0.6264 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.96, allocations: 4.466 MB / 0.6307 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.96, allocations: 0 / 0.6307 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.9726, allocations: 4.276 MB / 0.6349 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/0.9748, allocations: 0.5321 MB / 0.6354 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008932/0.9757, allocations: 23.98 kB / 0.6354 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/0.9782, allocations: 70.33 kB / 0.6355 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.9787, allocations: 64.55 kB / 0.6356 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.9789, allocations: 31.98 kB / 0.6356 GB, free: 7.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006654/0.9855, allocations: 2.303 MB / 0.6378 GB, free: 5.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.9856, allocations: 0 / 0.6378 GB, free: 5.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006301/0.9919, allocations: 0.8033 MB / 0.6386 GB, free: 4.566 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (90): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/1.005, allocations: 4.902 MB / 0.6434 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.016, allocations: 3.961 MB / 0.6473 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.016, allocations: 0 / 0.6473 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002811/1.019, allocations: 1.094 MB / 0.6483 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004122/1.023, allocations: 371.4 kB / 0.6487 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07171/1.095, allocations: 27.76 MB / 0.6758 GB, free: 11.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005693/1.1, allocations: 2.838 MB / 0.6786 GB, free: 8.418 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007337/1.108, allocations: 1.637 MB / 0.6802 GB, free: 6.777 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/1.111, allocations: 1.507 MB / 0.6817 GB, free: 5.27 MB / 458.7 MB Notification: Performance of SimCode: time 7.62e-07/1.111, allocations: 0 / 0.6817 GB, free: 5.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.502/1.613, allocations: 64.25 MB / 0.7444 GB, free: 126.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.614, allocations: 214.7 kB / 0.7446 GB, free: 126.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.378/6.992, allocations: 0 / 0.7446 GB, free: 126.4 MB / 474.7 MB