Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 97.53 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 171.5 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4264/0.4264, allocations: 43.55 MB / 314.5 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.0005381, allocations: 12 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3015/0.4318, allocations: 83.6 MB / 0.5141 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05243/0.4843, allocations: 18.72 MB / 0.5324 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02329/0.5076, allocations: 412.4 kB / 0.5328 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01877/0.5264, allocations: 4.205 MB / 0.5369 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04841/0.5749, allocations: 11.91 MB / 0.5485 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00664/0.5816, allocations: 0.9191 MB / 0.5494 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04326/0.6248, allocations: 27.51 MB / 0.5763 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01317/0.6381, allocations: 7.355 MB / 0.5835 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.6423, allocations: 1.67 MB / 0.5851 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.6467, allocations: 2.254 MB / 0.5873 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.6484, allocations: 248 kB / 0.5875 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.6519, allocations: 1.1 MB / 0.5886 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.6551, allocations: 2.665 MB / 0.5912 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.6573, allocations: 1.392 MB / 0.5926 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.6699, allocations: 9.317 MB / 0.6017 GB, free: 13.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6699, allocations: 3.938 kB / 0.6017 GB, free: 13.1 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6699, allocations: 3.938 kB / 0.6017 GB, free: 13.1 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000439/0.6703, allocations: 0 / 0.6017 GB, free: 13.1 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.01812/0.6885, allocations: 7.094 MB / 0.6086 GB, free: 5.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.6886, allocations: 8.031 kB / 0.6086 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004014/0.6926, allocations: 1.17 MB / 0.6097 GB, free: 4.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04382/0.7364, allocations: 8.33 MB / 0.6179 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.7503, allocations: 4.841 MB / 0.6226 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/0.7509, allocations: 394.1 kB / 0.623 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00271/0.7536, allocations: 0.523 MB / 0.6235 GB, free: 6.551 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5464/1.3, allocations: 16.95 MB / 0.64 GB, free: 136.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002465/1.3, allocations: 67.97 kB / 0.6401 GB, free: 136.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008145/1.301, allocations: 248.9 kB / 0.6403 GB, free: 136.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00546/1.307, allocations: 3.249 MB / 0.6435 GB, free: 136.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03375/1.34, allocations: 14.41 MB / 0.6576 GB, free: 132 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09511/1.436, allocations: 62.56 MB / 0.7187 GB, free: 86.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/1.452, allocations: 6.974 MB / 0.7255 GB, free: 79.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/1.469, allocations: 9.515 MB / 0.7348 GB, free: 69.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/1.469, allocations: 60.88 kB / 0.7348 GB, free: 69.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 6.552e-06/1.469, allocations: 0 / 0.7348 GB, free: 69.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.0817/1.551, allocations: 34.13 MB / 0.7682 GB, free: 35.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/1.551, allocations: 240.2 kB / 0.7684 GB, free: 34.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.561, allocations: 6.975 MB / 0.7752 GB, free: 27.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.562, allocations: 81.7 kB / 0.7753 GB, free: 27.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003389/1.566, allocations: 4.799 MB / 0.78 GB, free: 22.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002447/1.568, allocations: 1.267 MB / 0.7812 GB, free: 21.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/1.569, allocations: 181.9 kB / 0.7814 GB, free: 21.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004321/1.569, allocations: 0.6823 MB / 0.7821 GB, free: 20.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005447/1.575, allocations: 3.816 MB / 0.7858 GB, free: 16.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008377/1.583, allocations: 8.835 MB / 0.7944 GB, free: 5.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009919/1.593, allocations: 5.675 MB / 0.8 GB, free: 15.94 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.593, allocations: 55.94 kB / 0.8 GB, free: 15.88 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1169) (initialization): time 0.03347/1.627, allocations: 14.05 MB / 0.8137 GB, free: 1.82 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.627, allocations: 80 kB / 0.8138 GB, free: 1.742 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/1.627, allocations: 176.9 kB / 0.814 GB, free: 1.57 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004827/1.632, allocations: 1.808 MB / 0.8157 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009274/1.641, allocations: 2.098 MB / 0.8178 GB, free: 13.65 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/1.66, allocations: 12.39 MB / 0.8299 GB, free: 1.004 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.671, allocations: 0.5156 MB / 0.8304 GB, free: 500 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3835/2.054, allocations: 0.5254 MB / 0.8309 GB, free: 149.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1087): * Single equations (assignments): 1080 * Array equations: 5 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008829/2.063, allocations: 3.278 MB / 0.8341 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.065, allocations: 0.589 MB / 0.8347 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/2.079, allocations: 7.702 MB / 0.8422 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.098e-05/2.079, allocations: 40.84 kB / 0.8422 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.551e-05/2.079, allocations: 9.75 kB / 0.8422 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/2.079, allocations: 16.55 kB / 0.8423 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03325/2.113, allocations: 16.36 MB / 0.8582 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/2.113, allocations: 5.875 kB / 0.8582 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/2.116, allocations: 0.5842 MB / 0.8588 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004534/2.121, allocations: 1.532 MB / 0.8603 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005635/2.121, allocations: 61.83 kB / 0.8604 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/2.139, allocations: 11.59 MB / 0.8717 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/2.139, allocations: 9.516 kB / 0.8717 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02596/2.165, allocations: 12.99 MB / 0.8844 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005018/2.17, allocations: 1.232 MB / 0.8856 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002099/2.172, allocations: 63.8 kB / 0.8856 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003709/2.176, allocations: 228.4 kB / 0.8859 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006657/2.177, allocations: 207.7 kB / 0.8861 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002524/2.177, allocations: 82.91 kB / 0.8861 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009714/2.186, allocations: 4.52 MB / 0.8906 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.01e-07/2.187, allocations: 3.125 kB / 0.8906 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01139/2.198, allocations: 1.744 MB / 0.8923 GB, free: 129.5 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01867/2.217, allocations: 14.39 MB / 0.9063 GB, free: 120.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.231, allocations: 9.334 MB / 0.9154 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.231, allocations: 4 kB / 0.9154 GB, free: 112.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.006042/2.237, allocations: 3.795 MB / 0.9191 GB, free: 108.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/2.243, allocations: 0.7213 MB / 0.9198 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3681/2.611, allocations: 156.8 MB / 1.073 GB, free: 92.64 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007634/2.619, allocations: 5.181 MB / 1.078 GB, free: 91.76 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008118/2.627, allocations: 2.985 MB / 1.081 GB, free: 91.68 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005854/2.633, allocations: 3.339 MB / 1.084 GB, free: 91.68 MB / 0.5138 GB Notification: Performance of SimCode: time 1.704e-06/2.633, allocations: 0 / 1.084 GB, free: 91.68 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2367/2.869, allocations: 133.6 MB / 1.215 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/2.87, allocations: 216.8 kB / 1.215 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.149/9.019, allocations: 0 / 1.215 GB, free: 7.492 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat