Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",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.009853/0.009853, allocations: 165.6 kB / 15.11 MB, free: 5.984 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.653/1.653, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002032/0.002031, allocations: 103.4 kB / 226.2 MB, free: 10.11 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.455/0.455, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005428, allocations: 16 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 48.71 MB / 411.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5657, allocations: 92.77 MB / 0.4926 GB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.566, allocations: 78.41 kB / 0.4927 GB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9024/1.468, allocations: 136.8 MB / 0.6263 GB, free: 70.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.468, allocations: 0 / 0.6263 GB, free: 70.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005594/1.469, allocations: 135.7 kB / 0.6265 GB, free: 70.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.03289/1.502, allocations: 7.26 MB / 0.6335 GB, free: 67.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.502, allocations: 14.09 kB / 0.6336 GB, free: 67.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006204/1.508, allocations: 1.18 MB / 0.6347 GB, free: 67.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07034/1.579, allocations: 9.491 MB / 0.644 GB, free: 66.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03214/1.611, allocations: 8.763 MB / 0.6525 GB, free: 65.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006695/1.612, allocations: 0.5048 MB / 0.653 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004048/1.616, allocations: 0.6767 MB / 0.6537 GB, free: 65.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05069/1.666, allocations: 16.1 MB / 0.6694 GB, free: 58.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005241/1.667, allocations: 93.59 kB / 0.6695 GB, free: 58.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003319/1.67, allocations: 330.5 kB / 0.6698 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003335/1.674, allocations: 1.454 MB / 0.6712 GB, free: 58.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04311/1.717, allocations: 12.85 MB / 0.6838 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1082/1.825, allocations: 70.67 MB / 0.7528 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3587/2.184, allocations: 5.907 MB / 0.7586 GB, free: 78.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004925/2.184, allocations: 51.12 kB / 0.7586 GB, free: 78.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.691e-05/2.185, allocations: 58.78 kB / 0.7587 GB, free: 78.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=242): time 7.975e-06/2.185, allocations: 0 / 0.7587 GB, free: 78.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=260): time 0.1008/2.285, allocations: 22.48 MB / 0.7806 GB, free: 73.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/2.286, allocations: 264.5 kB / 0.7809 GB, free: 73.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01806/2.304, allocations: 6.157 MB / 0.7869 GB, free: 72.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007255/2.304, allocations: 63.94 kB / 0.787 GB, free: 72.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005715/2.31, allocations: 4.857 MB / 0.7917 GB, free: 70.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001951/2.312, allocations: 1.007 MB / 0.7927 GB, free: 69.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.314, allocations: 168.2 kB / 0.7928 GB, free: 69.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007857/2.314, allocations: 0.6606 MB / 0.7935 GB, free: 69.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008836/2.323, allocations: 2.864 MB / 0.7963 GB, free: 69.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/2.336, allocations: 7.992 MB / 0.8041 GB, free: 62.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.348, allocations: 4.682 MB / 0.8087 GB, free: 61.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000266/2.348, allocations: 55.41 kB / 0.8087 GB, free: 61.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03196/2.38, allocations: 11.2 MB / 0.8197 GB, free: 57.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/2.381, allocations: 85.81 kB / 0.8197 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/2.381, allocations: 188.7 kB / 0.8199 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/2.384, allocations: 0.8115 MB / 0.8207 GB, free: 57.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/2.396, allocations: 1.924 MB / 0.8226 GB, free: 57.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/2.412, allocations: 8.464 MB / 0.8308 GB, free: 51.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01709/2.429, allocations: 458.3 kB / 0.8313 GB, free: 51.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/2.431, allocations: 0.5086 MB / 0.8318 GB, free: 51.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01173/2.443, allocations: 3.198 MB / 0.8349 GB, free: 49.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/2.445, allocations: 0.5851 MB / 0.8355 GB, free: 49.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.462, allocations: 4.345 MB / 0.8397 GB, free: 47.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.897e-05/2.462, allocations: 28.62 kB / 0.8397 GB, free: 47.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/2.462, allocations: 7.531 kB / 0.8398 GB, free: 47.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/2.462, allocations: 14.39 kB / 0.8398 GB, free: 47.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03649/2.499, allocations: 11.23 MB / 0.8507 GB, free: 43.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/2.499, allocations: 4 kB / 0.8507 GB, free: 43.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003878/2.503, allocations: 411.6 kB / 0.8511 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/2.505, allocations: 0.5002 MB / 0.8516 GB, free: 43.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/2.506, allocations: 46.06 kB / 0.8517 GB, free: 43.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/2.517, allocations: 7.54 MB / 0.859 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/2.517, allocations: 0 / 0.859 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01811/2.535, allocations: 7.738 MB / 0.8666 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/2.54, allocations: 1 MB / 0.8676 GB, free: 33.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/2.542, allocations: 35.66 kB / 0.8676 GB, free: 33.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004623/2.546, allocations: 154.1 kB / 0.8677 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/2.547, allocations: 145.2 kB / 0.8679 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002678/2.547, allocations: 68.75 kB / 0.8679 GB, free: 33.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01182/2.559, allocations: 4.396 MB / 0.8722 GB, free: 30.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.153e-06/2.559, allocations: 0 / 0.8722 GB, free: 30.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01124/2.57, allocations: 1.521 MB / 0.8737 GB, free: 29.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02308/2.594, allocations: 8.573 MB / 0.8821 GB, free: 21.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02272/2.616, allocations: 7.243 MB / 0.8892 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/2.616, allocations: 0.6875 kB / 0.8892 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007356/2.624, allocations: 2.444 MB / 0.8916 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008495/2.632, allocations: 0.7585 MB / 0.8923 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6777/3.31, allocations: 185.9 MB / 1.074 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01253/3.323, allocations: 5.028 MB / 1.079 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01384/3.337, allocations: 2.758 MB / 1.081 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008678/3.345, allocations: 3.237 MB / 1.085 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/3.345, allocations: 0 / 1.085 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6602/4.006, allocations: 122.8 MB / 1.204 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/4.006, allocations: 200.3 kB / 1.205 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/11.8, allocations: 0 / 1.205 GB, free: 144.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat