Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 94.73 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 63.46 MB / 481.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3598/0.4829, allocations: 78.34 MB / 0.5467 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05156/0.5345, allocations: 17.74 MB / 0.5641 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02325/0.5578, allocations: 388.5 kB / 0.5644 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.5743, allocations: 3.979 MB / 0.5683 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04036/0.6147, allocations: 11.17 MB / 0.5792 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005709/0.6204, allocations: 0.8933 MB / 0.5801 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0673/0.6877, allocations: 48.83 MB / 0.6278 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.6978, allocations: 6.781 MB / 0.6344 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.7007, allocations: 1.421 MB / 0.6358 GB, free: 9.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.7033, allocations: 1.881 MB / 0.6376 GB, free: 7.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000632/0.704, allocations: 204 kB / 0.6378 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.7062, allocations: 1.057 MB / 0.6389 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.7088, allocations: 2.318 MB / 0.6411 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.7104, allocations: 1.193 MB / 0.6423 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00986/0.7202, allocations: 8.051 MB / 0.6502 GB, free: 10.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7203, allocations: 0 / 0.6502 GB, free: 10.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.7203, allocations: 3.938 kB / 0.6502 GB, free: 10.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004429/0.7207, allocations: 0 / 0.6502 GB, free: 10.46 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01673/0.7375, allocations: 6.23 MB / 0.6563 GB, free: 4.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.7376, allocations: 12.03 kB / 0.6563 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003418/0.741, allocations: 1.009 MB / 0.6572 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04254/0.7835, allocations: 8.187 MB / 0.6652 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.7938, allocations: 4.048 MB / 0.6692 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.7941, allocations: 349 kB / 0.6695 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.7957, allocations: 471.7 kB / 0.67 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02791/0.8236, allocations: 14.76 MB / 0.6844 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/0.8238, allocations: 59.42 kB / 0.6845 GB, free: 6.25 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006504/0.8245, allocations: 223.8 kB / 0.6847 GB, free: 6.031 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004768/0.8293, allocations: 2.793 MB / 0.6874 GB, free: 3.23 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/0.8554, allocations: 12.54 MB / 0.6996 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3553/1.211, allocations: 54.93 MB / 0.7533 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/1.228, allocations: 6.596 MB / 0.7597 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/1.228, allocations: 37.88 kB / 0.7598 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.181e-05/1.228, allocations: 61.16 kB / 0.7598 GB, free: 143 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 1.156e-05/1.229, allocations: 0 / 0.7598 GB, free: 143 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.085/1.314, allocations: 30.8 MB / 0.7899 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.314, allocations: 205.9 kB / 0.7901 GB, free: 116 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009668/1.323, allocations: 6.301 MB / 0.7962 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009524/1.324, allocations: 65.7 kB / 0.7963 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003101/1.327, allocations: 4.207 MB / 0.8004 GB, free: 105.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.329, allocations: 0.9881 MB / 0.8014 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/1.33, allocations: 152 kB / 0.8015 GB, free: 104.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003334/1.33, allocations: 0.6282 MB / 0.8021 GB, free: 103.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004153/1.334, allocations: 3.239 MB / 0.8053 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006101/1.34, allocations: 7.689 MB / 0.8128 GB, free: 90.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/1.346, allocations: 4.88 MB / 0.8176 GB, free: 85.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.982e-05/1.346, allocations: 47.94 kB / 0.8176 GB, free: 85.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=986) (initialization): time 0.02072/1.367, allocations: 12.26 MB / 0.8296 GB, free: 73.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.367, allocations: 72 kB / 0.8297 GB, free: 73.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.367, allocations: 156 kB / 0.8298 GB, free: 73.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/1.371, allocations: 1.785 MB / 0.8316 GB, free: 71.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/1.378, allocations: 1.77 MB / 0.8333 GB, free: 69.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.391, allocations: 12.29 MB / 0.8453 GB, free: 56.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00789/1.399, allocations: 483.2 kB / 0.8458 GB, free: 56.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/1.4, allocations: 461 kB / 0.8462 GB, free: 56.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (914): * Single equations (assignments): 909 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006486/1.407, allocations: 2.873 MB / 0.849 GB, free: 53.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/1.408, allocations: 0.509 MB / 0.8495 GB, free: 52.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009858/1.418, allocations: 6.384 MB / 0.8557 GB, free: 46.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/1.418, allocations: 28 kB / 0.8558 GB, free: 46.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.418, allocations: 8 kB / 0.8558 GB, free: 46.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/1.418, allocations: 15.95 kB / 0.8558 GB, free: 46.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.442, allocations: 14.07 MB / 0.8695 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.442, allocations: 4 kB / 0.8695 GB, free: 32.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.444, allocations: 447.3 kB / 0.8699 GB, free: 31.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003532/1.448, allocations: 1.528 MB / 0.8714 GB, free: 30.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004831/1.449, allocations: 44.69 kB / 0.8715 GB, free: 30.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.461, allocations: 11.57 MB / 0.8828 GB, free: 18.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.461, allocations: 3.938 kB / 0.8828 GB, free: 18.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.475, allocations: 10.47 MB / 0.893 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/1.477, allocations: 0.6035 MB / 0.8936 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000662/1.478, allocations: 36.7 kB / 0.8936 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/1.48, allocations: 220.9 kB / 0.8938 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/1.481, allocations: 153.7 kB / 0.894 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.481, allocations: 71.94 kB / 0.8941 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005583/1.486, allocations: 4.04 MB / 0.898 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/1.486, allocations: 0 / 0.898 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008553/1.495, allocations: 1.499 MB / 0.8995 GB, free: 1.062 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (202): * Single equations (assignments): 197 * 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.01766/1.513, allocations: 11.3 MB / 0.9105 GB, free: 5.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2957/1.808, allocations: 7.995 MB / 0.9183 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.808, allocations: 6.625 kB / 0.9183 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007378/1.816, allocations: 3.296 MB / 0.9215 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/1.82, allocations: 0.6614 MB / 0.9222 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1475/1.968, allocations: 165 MB / 1.083 GB, free: 37.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004798/1.973, allocations: 4.541 MB / 1.088 GB, free: 32.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007009/1.98, allocations: 2.596 MB / 1.09 GB, free: 30.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005889/1.986, allocations: 2.803 MB / 1.093 GB, free: 27.37 MB / 0.545 GB Notification: Performance of SimCode: time 5.059e-06/1.986, allocations: 4 kB / 1.093 GB, free: 27.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4727/2.458, allocations: 119.5 MB / 1.21 GB, free: 113.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.459, allocations: 217.4 kB / 1.21 GB, free: 113.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.386/7.844, allocations: 3.844 kB / 1.21 GB, free: 113.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat