Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009808/0.0009808, allocations: 92.48 kB / 16.98 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.001008/0.001008, 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.414/1.414, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003014, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3558/0.4901, allocations: 75.05 MB / 0.5435 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04553/0.5357, allocations: 17.11 MB / 0.5602 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02064/0.5564, allocations: 373.5 kB / 0.5606 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01438/0.5708, allocations: 3.812 MB / 0.5643 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04072/0.6115, allocations: 10.71 MB / 0.5748 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006111/0.6177, allocations: 0.9058 MB / 0.5757 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.07137/0.6891, allocations: 48.8 MB / 0.6233 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009915/0.699, allocations: 6.962 MB / 0.6301 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.7021, allocations: 1.417 MB / 0.6315 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.7047, allocations: 1.838 MB / 0.6333 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007269/0.7055, allocations: 200 kB / 0.6335 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.7077, allocations: 1.053 MB / 0.6345 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002209/0.7099, allocations: 2.24 MB / 0.6367 GB, free: 8.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.7114, allocations: 1.174 MB / 0.6378 GB, free: 7.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.7215, allocations: 7.965 MB / 0.6456 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7215, allocations: 0 / 0.6456 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.7216, allocations: 0 / 0.6456 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004157/0.722, allocations: 0 / 0.6456 GB, free: 15.11 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.0169/0.7389, allocations: 6.136 MB / 0.6516 GB, free: 8.895 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.739, allocations: 8.031 kB / 0.6516 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003921/0.7429, allocations: 0.9921 MB / 0.6526 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04331/0.7862, allocations: 8.14 MB / 0.6605 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.7978, allocations: 4.02 MB / 0.6645 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/0.7982, allocations: 352.9 kB / 0.6648 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.8002, allocations: 463.6 kB / 0.6652 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/0.831, allocations: 14.8 MB / 0.6797 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/0.8313, allocations: 59.42 kB / 0.6798 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009626/0.8323, allocations: 223.8 kB / 0.68 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005039/0.8373, allocations: 2.778 MB / 0.6827 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02714/0.8645, allocations: 12.71 MB / 0.6951 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3942/1.259, allocations: 53.4 MB / 0.7472 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.276, allocations: 6.312 MB / 0.7534 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/1.297, allocations: 12.98 MB / 0.7661 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/1.297, allocations: 55.75 kB / 0.7661 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=228): time 7.604e-06/1.297, allocations: 0 / 0.7661 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=270): time 0.0697/1.366, allocations: 28.96 MB / 0.7944 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/1.367, allocations: 213.9 kB / 0.7946 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007086/1.374, allocations: 5.259 MB / 0.7998 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009592/1.375, allocations: 63.73 kB / 0.7998 GB, free: 107.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.377, allocations: 4.032 MB / 0.8038 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.379, allocations: 1.008 MB / 0.8047 GB, free: 102.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/1.379, allocations: 140 kB / 0.8049 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003571/1.38, allocations: 0.6136 MB / 0.8055 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/1.383, allocations: 3.059 MB / 0.8085 GB, free: 98.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/1.39, allocations: 7.141 MB / 0.8154 GB, free: 89.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/1.395, allocations: 4.582 MB / 0.8199 GB, free: 84.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-05/1.395, allocations: 40 kB / 0.8199 GB, free: 84.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=934) (initialization): time 0.018/1.413, allocations: 11.56 MB / 0.8312 GB, free: 73.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/1.413, allocations: 68 kB / 0.8313 GB, free: 72.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/1.413, allocations: 144 kB / 0.8314 GB, free: 72.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/1.417, allocations: 1.762 MB / 0.8332 GB, free: 71.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.423, allocations: 1.658 MB / 0.8348 GB, free: 69.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.436, allocations: 12.31 MB / 0.8468 GB, free: 56.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007323/1.443, allocations: 428 kB / 0.8472 GB, free: 56.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/1.445, allocations: 432.8 kB / 0.8476 GB, free: 56.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (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,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (862): * Single equations (assignments): 857 * 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.00728/1.452, allocations: 2.8 MB / 0.8503 GB, free: 53.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.454, allocations: 458.1 kB / 0.8508 GB, free: 52.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.467, allocations: 6.249 MB / 0.8569 GB, free: 46.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/1.467, allocations: 28 kB / 0.8569 GB, free: 46.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-05/1.467, allocations: 11.47 kB / 0.8569 GB, free: 46.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/1.467, allocations: 19.91 kB / 0.8569 GB, free: 46.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.496, allocations: 13.82 MB / 0.8704 GB, free: 32.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.496, allocations: 4 kB / 0.8704 GB, free: 32.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.498, allocations: 459.2 kB / 0.8709 GB, free: 32.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/1.502, allocations: 1.522 MB / 0.8724 GB, free: 30.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/1.502, allocations: 47.98 kB / 0.8724 GB, free: 30.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/1.515, allocations: 11.57 MB / 0.8837 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.515, allocations: 0 / 0.8837 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/1.529, allocations: 10.14 MB / 0.8936 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.531, allocations: 0.5184 MB / 0.8941 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006735/1.532, allocations: 48.94 kB / 0.8942 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.534, allocations: 195.7 kB / 0.8944 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/1.535, allocations: 149.8 kB / 0.8945 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.535, allocations: 65.17 kB / 0.8946 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005014/1.54, allocations: 3.352 MB / 0.8978 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.54, allocations: 0 / 0.8978 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008613/1.549, allocations: 1.435 MB / 0.8992 GB, free: 2.742 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 (212): * Single equations (assignments): 207 * 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.01612/1.565, allocations: 10.97 MB / 0.91 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.579, allocations: 7.641 MB / 0.9174 GB, free: 40 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.579, allocations: 4 kB / 0.9174 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.2929/1.872, allocations: 3.227 MB / 0.9206 GB, free: 193.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.876, allocations: 0.617 MB / 0.9212 GB, free: 193.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1304/2.007, allocations: 149.9 MB / 1.068 GB, free: 60.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005406/2.012, allocations: 4.487 MB / 1.072 GB, free: 56.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005846/2.018, allocations: 2.329 MB / 1.074 GB, free: 54.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00378/2.022, allocations: 2.737 MB / 1.077 GB, free: 51.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/2.022, allocations: 0 / 1.077 GB, free: 51.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.41/2.432, allocations: 111.3 MB / 1.186 GB, free: 150 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/2.432, allocations: 202.8 kB / 1.186 GB, free: 149.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/7.428, allocations: 0 / 1.186 GB, free: 149.8 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat