Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 98.25 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1994/0.1994, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002967, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.3534/0.4941, allocations: 81.83 MB / 0.5501 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0506/0.5448, allocations: 18.46 MB / 0.5682 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02257/0.5674, allocations: 414.9 kB / 0.5686 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01604/0.5835, allocations: 4.164 MB / 0.5726 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04801/0.6315, allocations: 11.7 MB / 0.5841 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007542/0.6391, allocations: 0.905 MB / 0.5849 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.07071/0.7099, allocations: 49.04 MB / 0.6328 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.7207, allocations: 7.147 MB / 0.6398 GB, free: 5.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/0.7234, allocations: 1.507 MB / 0.6413 GB, free: 3.539 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.7262, allocations: 1.947 MB / 0.6432 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006529/0.7268, allocations: 208 kB / 0.6434 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.729, allocations: 1.085 MB / 0.6444 GB, free: 304 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.7312, allocations: 2.416 MB / 0.6468 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.7325, allocations: 1.244 MB / 0.648 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008187/0.7407, allocations: 8.358 MB / 0.6562 GB, free: 4.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7407, allocations: 0 / 0.6562 GB, free: 4.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7407, allocations: 0 / 0.6562 GB, free: 4.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003464/0.7411, allocations: 0 / 0.6562 GB, free: 4.242 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01572/0.7568, allocations: 6.606 MB / 0.6626 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7569, allocations: 11.97 kB / 0.6626 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002592/0.7595, allocations: 1.046 MB / 0.6637 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/0.8025, allocations: 8.218 MB / 0.6717 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.8131, allocations: 4.3 MB / 0.6759 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.8135, allocations: 365.3 kB / 0.6762 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.8151, allocations: 487.7 kB / 0.6767 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/0.8491, allocations: 15.29 MB / 0.6916 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003874/0.8496, allocations: 63.38 kB / 0.6917 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001694/0.8513, allocations: 235.8 kB / 0.6919 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005797/0.8571, allocations: 2.876 MB / 0.6947 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3187/1.176, allocations: 12.92 MB / 0.7073 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0775/1.253, allocations: 57.07 MB / 0.7631 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.268, allocations: 5.873 MB / 0.7688 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/1.282, allocations: 8.036 MB / 0.7767 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.282, allocations: 58.91 kB / 0.7767 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=227): time 4.889e-06/1.282, allocations: 4 kB / 0.7767 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=269): time 0.06917/1.351, allocations: 30.25 MB / 0.8063 GB, free: 99.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/1.351, allocations: 235.6 kB / 0.8065 GB, free: 98.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008586/1.36, allocations: 6.655 MB / 0.813 GB, free: 92.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009037/1.361, allocations: 65.7 kB / 0.813 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002623/1.363, allocations: 4.413 MB / 0.8174 GB, free: 87.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.365, allocations: 1.024 MB / 0.8184 GB, free: 86.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/1.365, allocations: 157.3 kB / 0.8185 GB, free: 86.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.366, allocations: 0.6408 MB / 0.8191 GB, free: 85.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/1.37, allocations: 3.209 MB / 0.8223 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007488/1.377, allocations: 7.864 MB / 0.8299 GB, free: 72.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007644/1.385, allocations: 4.917 MB / 0.8348 GB, free: 67.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001966/1.385, allocations: 44 kB / 0.8348 GB, free: 67.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.02581/1.411, allocations: 12.39 MB / 0.8469 GB, free: 55.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/1.412, allocations: 76 kB / 0.847 GB, free: 55.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003928/1.412, allocations: 164 kB / 0.8471 GB, free: 54.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00496/1.417, allocations: 1.793 MB / 0.8489 GB, free: 53.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006821/1.424, allocations: 1.825 MB / 0.8507 GB, free: 51.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.438, allocations: 12.32 MB / 0.8627 GB, free: 38.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007582/1.446, allocations: 467.3 kB / 0.8631 GB, free: 38.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.448, allocations: 485 kB / 0.8636 GB, free: 37.72 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (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,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 (955): * Single equations (assignments): 948 * 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.006724/1.454, allocations: 3.002 MB / 0.8665 GB, free: 34.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/1.456, allocations: 0.536 MB / 0.8671 GB, free: 34.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/1.468, allocations: 6.239 MB / 0.8731 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-05/1.468, allocations: 36 kB / 0.8732 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.451e-05/1.468, allocations: 8 kB / 0.8732 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/1.468, allocations: 15.94 kB / 0.8732 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02925/1.497, allocations: 13.93 MB / 0.8868 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/1.497, allocations: 4 kB / 0.8868 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.5, allocations: 443.6 kB / 0.8872 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/1.504, allocations: 1.531 MB / 0.8887 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006038/1.504, allocations: 48 kB / 0.8888 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/1.517, allocations: 11.52 MB / 0.9 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.517, allocations: 4 kB / 0.9 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.536, allocations: 10.66 MB / 0.9104 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.539, allocations: 0.6344 MB / 0.9111 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002585/1.541, allocations: 45.41 kB / 0.9111 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/1.546, allocations: 175.8 kB / 0.9113 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009636/1.547, allocations: 165.7 kB / 0.9114 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005505/1.547, allocations: 73.39 kB / 0.9115 GB, free: 4.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3134/1.861, allocations: 4.3 MB / 0.9157 GB, free: 180.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.41e-07/1.861, allocations: 0 / 0.9157 GB, free: 180.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0102/1.871, allocations: 1.533 MB / 0.9172 GB, free: 180.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * 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.02107/1.892, allocations: 11.84 MB / 0.9288 GB, free: 177.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01749/1.909, allocations: 7.924 MB / 0.9365 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.91, allocations: 0 / 0.9365 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005486/1.915, allocations: 3.145 MB / 0.9396 GB, free: 173.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.919, allocations: 0.697 MB / 0.9403 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0757/1.995, allocations: 144.4 MB / 1.081 GB, free: 32.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009398/2.004, allocations: 4.74 MB / 1.086 GB, free: 28.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007809/2.012, allocations: 2.65 MB / 1.088 GB, free: 27.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004634/2.017, allocations: 2.996 MB / 1.091 GB, free: 24.39 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/2.017, allocations: 0 / 1.091 GB, free: 24.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5034/2.52, allocations: 122 MB / 1.211 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.521, allocations: 212.5 kB / 1.211 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.447/7.968, allocations: 0 / 1.211 GB, free: 133.9 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat