Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces",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.01032/0.01032, allocations: 165.4 kB / 15.11 MB, free: 5.934 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.663/1.663, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001975/0.001975, allocations: 107.3 kB / 226.2 MB, free: 10.1 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.4495/0.4495, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.000497, allocations: 16 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 48.7 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5604, allocations: 93.86 MB / 0.4937 GB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5607, allocations: 78.45 kB / 0.4938 GB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.815/1.376, allocations: 110.7 MB / 0.6018 GB, free: 72.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.017e-06/1.376, allocations: 0 / 0.6018 GB, free: 72.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004947/1.376, allocations: 106.3 kB / 0.6019 GB, free: 72.06 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.02589/1.402, allocations: 5.808 MB / 0.6076 GB, free: 69.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.402, allocations: 12 kB / 0.6076 GB, free: 69.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004755/1.407, allocations: 0.9523 MB / 0.6085 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05362/1.461, allocations: 6.916 MB / 0.6153 GB, free: 69.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02713/1.488, allocations: 6.815 MB / 0.622 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006071/1.489, allocations: 401.8 kB / 0.6223 GB, free: 68.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0034/1.492, allocations: 0.5276 MB / 0.6229 GB, free: 68.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04255/1.535, allocations: 12.97 MB / 0.6355 GB, free: 65.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005338/1.535, allocations: 74.44 kB / 0.6356 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003109/1.538, allocations: 263.2 kB / 0.6358 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/1.541, allocations: 1.209 MB / 0.637 GB, free: 65.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03401/1.575, allocations: 10.38 MB / 0.6472 GB, free: 64.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08986/1.665, allocations: 58.35 MB / 0.7041 GB, free: 19.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.685, allocations: 4.686 MB / 0.7087 GB, free: 18.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/1.704, allocations: 6.867 MB / 0.7154 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/1.704, allocations: 54.19 kB / 0.7155 GB, free: 14.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=181): time 5.631e-06/1.704, allocations: 4 kB / 0.7155 GB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.06951/1.774, allocations: 15.77 MB / 0.7309 GB, free: 4.582 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/1.774, allocations: 197.2 kB / 0.7311 GB, free: 4.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.786, allocations: 5.141 MB / 0.7361 GB, free: 40 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005324/1.787, allocations: 55.42 kB / 0.7361 GB, free: 0 / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004894/1.792, allocations: 4.018 MB / 0.7401 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/1.793, allocations: 0.7579 MB / 0.7408 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009844/1.794, allocations: 140 kB / 0.7409 GB, free: 11.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006262/1.795, allocations: 0.6051 MB / 0.7415 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006808/1.801, allocations: 2.267 MB / 0.7438 GB, free: 9.156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/1.813, allocations: 6.673 MB / 0.7503 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3243/2.137, allocations: 3.898 MB / 0.7541 GB, free: 78.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/2.138, allocations: 50.53 kB / 0.7541 GB, free: 78.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=918) (initialization): time 0.02549/2.163, allocations: 9.084 MB / 0.763 GB, free: 77.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/2.163, allocations: 72.5 kB / 0.7631 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/2.164, allocations: 155.9 kB / 0.7632 GB, free: 77.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/2.166, allocations: 0.591 MB / 0.7638 GB, free: 77.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009946/2.176, allocations: 1.61 MB / 0.7654 GB, free: 77.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/2.185, allocations: 5.702 MB / 0.7709 GB, free: 74.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/2.193, allocations: 378.8 kB / 0.7713 GB, free: 74.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/2.195, allocations: 436 kB / 0.7717 GB, free: 74.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (868): * Single equations (assignments): 863 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007166/2.202, allocations: 2.617 MB / 0.7743 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/2.204, allocations: 483.7 kB / 0.7747 GB, free: 74.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009163/2.213, allocations: 3.005 MB / 0.7777 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.347e-05/2.213, allocations: 20.47 kB / 0.7777 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/2.213, allocations: 7.469 kB / 0.7777 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/2.213, allocations: 8.406 kB / 0.7777 GB, free: 74.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02607/2.239, allocations: 8.166 MB / 0.7857 GB, free: 73.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/2.239, allocations: 3.594 kB / 0.7857 GB, free: 73.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/2.242, allocations: 288.8 kB / 0.7859 GB, free: 73.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/2.244, allocations: 346.2 kB / 0.7863 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/2.244, allocations: 35.25 kB / 0.7863 GB, free: 73.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008273/2.253, allocations: 5.049 MB / 0.7912 GB, free: 71.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/2.253, allocations: 10.44 kB / 0.7912 GB, free: 71.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/2.267, allocations: 5.974 MB / 0.7971 GB, free: 68.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/2.27, allocations: 0.7953 MB / 0.7979 GB, free: 68.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/2.272, allocations: 33.86 kB / 0.7979 GB, free: 68.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/2.275, allocations: 93.69 kB / 0.798 GB, free: 68.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006879/2.276, allocations: 111.8 kB / 0.7981 GB, free: 68.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/2.276, allocations: 59.08 kB / 0.7981 GB, free: 68.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01069/2.287, allocations: 3.686 MB / 0.8017 GB, free: 67.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.287, allocations: 0 / 0.8017 GB, free: 67.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008414/2.296, allocations: 1.195 MB / 0.8029 GB, free: 66.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/2.31, allocations: 7.128 MB / 0.8099 GB, free: 62.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01341/2.323, allocations: 5.613 MB / 0.8154 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.323, allocations: 3.688 kB / 0.8154 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003644/2.327, allocations: 1.672 MB / 0.817 GB, free: 60.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/2.332, allocations: 0.6016 MB / 0.8176 GB, free: 59.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4839/2.816, allocations: 154.1 MB / 0.9681 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01056/2.826, allocations: 4.125 MB / 0.9721 GB, free: 106 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01124/2.838, allocations: 2.297 MB / 0.9744 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005764/2.844, allocations: 2.514 MB / 0.9768 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/2.844, allocations: 0 / 0.9768 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/3.081, allocations: 97.74 MB / 1.072 GB, free: 59.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/3.081, allocations: 206.3 kB / 1.072 GB, free: 58.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.681/9.761, allocations: 3.938 kB / 1.072 GB, free: 58.98 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat