Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques",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.01334/0.01334, allocations: 176.7 kB / 15.12 MB, free: 5.988 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 1.964/1.964, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.00202/0.00202, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.2516/0.2516, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005119, allocations: 11.69 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5092/0.6184, allocations: 100.9 MB / 0.5488 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.6187, allocations: 77.08 kB / 0.5489 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4533/1.072, allocations: 114.4 MB / 0.6607 GB, free: 14.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.072, allocations: 0 / 0.6607 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004413/1.073, allocations: 108 kB / 0.6608 GB, free: 14.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.02549/1.098, allocations: 5.939 MB / 0.6666 GB, free: 8.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.098, allocations: 8.031 kB / 0.6666 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004695/1.103, allocations: 0.9846 MB / 0.6675 GB, free: 7.141 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05272/1.156, allocations: 6.946 MB / 0.6743 GB, free: 180 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0268/1.182, allocations: 6.883 MB / 0.681 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006265/1.183, allocations: 422.9 kB / 0.6814 GB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003244/1.186, allocations: 0.5466 MB / 0.682 GB, free: 8.273 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04279/1.229, allocations: 13.35 MB / 0.695 GB, free: 9.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.23, allocations: 83.17 kB / 0.6951 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002648/1.232, allocations: 267.9 kB / 0.6953 GB, free: 9.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/1.236, allocations: 1.251 MB / 0.6966 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/1.272, allocations: 10.67 MB / 0.707 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4284/1.7, allocations: 59.64 MB / 0.7652 GB, free: 55.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/1.719, allocations: 4.649 MB / 0.7698 GB, free: 55.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01706/1.736, allocations: 6.505 MB / 0.7761 GB, free: 53.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.736, allocations: 59.27 kB / 0.7762 GB, free: 53.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 5.47e-06/1.736, allocations: 3.25 kB / 0.7762 GB, free: 53.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.06361/1.8, allocations: 16.9 MB / 0.7927 GB, free: 48.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.8, allocations: 230.1 kB / 0.7929 GB, free: 48.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/1.812, allocations: 5.206 MB / 0.798 GB, free: 48.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004729/1.812, allocations: 55.14 kB / 0.798 GB, free: 48.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003783/1.816, allocations: 4.126 MB / 0.8021 GB, free: 46.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.818, allocations: 0.7729 MB / 0.8028 GB, free: 45.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009297/1.819, allocations: 143.7 kB / 0.803 GB, free: 45.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000427/1.819, allocations: 0.6041 MB / 0.8036 GB, free: 45.56 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.824, allocations: 2.305 MB / 0.8058 GB, free: 45.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008333/1.833, allocations: 6.785 MB / 0.8124 GB, free: 39.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008664/1.841, allocations: 3.877 MB / 0.8162 GB, free: 39.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001469/1.842, allocations: 45.69 kB / 0.8163 GB, free: 39.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.02473/1.866, allocations: 9.25 MB / 0.8253 GB, free: 36.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.867, allocations: 81.11 kB / 0.8254 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/1.867, allocations: 162.6 kB / 0.8255 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/1.869, allocations: 0.6195 MB / 0.8261 GB, free: 36.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009584/1.879, allocations: 1.638 MB / 0.8277 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009037/1.888, allocations: 5.825 MB / 0.8334 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008336/1.896, allocations: 394 kB / 0.8338 GB, free: 32.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.898, allocations: 443.2 kB / 0.8342 GB, free: 32.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (882): * Single equations (assignments): 877 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007093/1.905, allocations: 2.69 MB / 0.8368 GB, free: 30.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.906, allocations: 493 kB / 0.8373 GB, free: 30.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/1.915, allocations: 3.051 MB / 0.8403 GB, free: 29.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.381e-05/1.915, allocations: 27.44 kB / 0.8403 GB, free: 29.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/1.915, allocations: 4.938 kB / 0.8403 GB, free: 29.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-05/1.915, allocations: 9.141 kB / 0.8403 GB, free: 29.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/1.94, allocations: 8.475 MB / 0.8486 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/1.94, allocations: 3.719 kB / 0.8486 GB, free: 26.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/1.943, allocations: 325.2 kB / 0.8489 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.945, allocations: 363.5 kB / 0.8493 GB, free: 26.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/1.945, allocations: 38.73 kB / 0.8493 GB, free: 26.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007678/1.953, allocations: 5.174 MB / 0.8544 GB, free: 22.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.953, allocations: 7.562 kB / 0.8544 GB, free: 22.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.965, allocations: 6.151 MB / 0.8604 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.968, allocations: 0.7986 MB / 0.8612 GB, free: 17.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.969, allocations: 33.64 kB / 0.8612 GB, free: 17.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/1.973, allocations: 92.5 kB / 0.8613 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/1.973, allocations: 115.2 kB / 0.8614 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.974, allocations: 66.73 kB / 0.8614 GB, free: 16.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009287/1.983, allocations: 3.724 MB / 0.8651 GB, free: 13.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.983, allocations: 0 / 0.8651 GB, free: 13.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009675/1.993, allocations: 1.222 MB / 0.8663 GB, free: 12.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01441/2.007, allocations: 7.343 MB / 0.8734 GB, free: 5.902 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01325/2.021, allocations: 5.714 MB / 0.879 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.021, allocations: 0 / 0.879 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005247/2.026, allocations: 1.787 MB / 0.8808 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/2.032, allocations: 0.6012 MB / 0.8814 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6093/2.641, allocations: 157.3 MB / 1.035 GB, free: 42.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0105/2.651, allocations: 4.237 MB / 1.039 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0112/2.663, allocations: 2.312 MB / 1.041 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006945/2.67, allocations: 2.572 MB / 1.044 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.493e-06/2.67, allocations: 0 / 1.044 GB, free: 41.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5948/3.265, allocations: 99.85 MB / 1.141 GB, free: 131.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/3.265, allocations: 202.9 kB / 1.142 GB, free: 131.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/10.34, allocations: 0.5 kB / 1.142 GB, free: 131.3 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat