Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008939/0.0008942, allocations: 96.75 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 192.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 45.91 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1449, allocations: 63.47 MB / 481.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4328/0.5778, allocations: 111.9 MB / 0.5797 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06518/0.6431, allocations: 22.26 MB / 0.6014 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03395/0.6771, allocations: 0.5222 MB / 0.6019 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02082/0.6979, allocations: 5.972 MB / 0.6077 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05305/0.751, allocations: 17.15 MB / 0.6245 GB, free: 5.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009371/0.7604, allocations: 1.229 MB / 0.6257 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.5185/1.279, allocations: 121.5 MB / 0.7444 GB, free: 84.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0163/1.295, allocations: 9.785 MB / 0.7539 GB, free: 79.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/1.301, allocations: 2.445 MB / 0.7563 GB, free: 77.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006292/1.308, allocations: 3.859 MB / 0.7601 GB, free: 74.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001524/1.309, allocations: 268 kB / 0.7604 GB, free: 74.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/1.312, allocations: 1.154 MB / 0.7615 GB, free: 73.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003347/1.316, allocations: 3.399 MB / 0.7648 GB, free: 71.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002682/1.318, allocations: 1.562 MB / 0.7663 GB, free: 70.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.33, allocations: 10.7 MB / 0.7768 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.33, allocations: 0 / 0.7768 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.486e-06/1.33, allocations: 0 / 0.7768 GB, free: 61.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004932/1.33, allocations: 0 / 0.7768 GB, free: 61.39 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01899/1.349, allocations: 8.048 MB / 0.7846 GB, free: 53.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.35, allocations: 12.03 kB / 0.7846 GB, free: 53.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00474/1.354, allocations: 1.241 MB / 0.7859 GB, free: 53.22 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05822/1.413, allocations: 10.7 MB / 0.7963 GB, free: 43.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.425, allocations: 6.657 MB / 0.8028 GB, free: 38.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/1.426, allocations: 456 kB / 0.8032 GB, free: 38.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/1.428, allocations: 0.6085 MB / 0.8038 GB, free: 37.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02976/1.458, allocations: 17.61 MB / 0.821 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003295/1.458, allocations: 89.97 kB / 0.8211 GB, free: 24.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008215/1.459, allocations: 280.7 kB / 0.8214 GB, free: 23.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004032/1.463, allocations: 3.136 MB / 0.8244 GB, free: 21.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/1.488, allocations: 14.42 MB / 0.8385 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07935/1.568, allocations: 65.41 MB / 0.9024 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/1.585, allocations: 6.383 MB / 0.9086 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/1.589, allocations: 3.629 MB / 0.9122 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/1.59, allocations: 0.647 MB / 0.9128 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/1.59, allocations: 63.31 kB / 0.9129 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=231): time 4.358e-06/1.59, allocations: 0 / 0.9129 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=255): time 0.5505/2.141, allocations: 28.03 MB / 0.9402 GB, free: 247 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/2.141, allocations: 297.2 kB / 0.9405 GB, free: 246.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02165/2.162, allocations: 7.394 MB / 0.9477 GB, free: 246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009012/2.163, allocations: 69.19 kB / 0.9478 GB, free: 245.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005299/2.169, allocations: 5.36 MB / 0.953 GB, free: 241.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/2.17, allocations: 0.9904 MB / 0.954 GB, free: 241.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/2.171, allocations: 167 kB / 0.9542 GB, free: 241 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004459/2.172, allocations: 0.6647 MB / 0.9548 GB, free: 240.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/2.176, allocations: 2.979 MB / 0.9577 GB, free: 239.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006395/2.183, allocations: 8.206 MB / 0.9657 GB, free: 231.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/2.189, allocations: 4.806 MB / 0.9704 GB, free: 229.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/2.19, allocations: 56.27 kB / 0.9705 GB, free: 229.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.0216/2.211, allocations: 11.91 MB / 0.9821 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/2.212, allocations: 84.23 kB / 0.9822 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004238/2.212, allocations: 187 kB / 0.9824 GB, free: 225.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003403/2.215, allocations: 1.324 MB / 0.9837 GB, free: 225.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/2.222, allocations: 1.937 MB / 0.9856 GB, free: 224.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/2.234, allocations: 12.65 MB / 0.9979 GB, free: 211.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007662/2.242, allocations: 467.3 kB / 0.9984 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/2.244, allocations: 0.5093 MB / 0.9989 GB, free: 210.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1022): * Single equations (assignments): 1015 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006905/2.25, allocations: 3.522 MB / 1.002 GB, free: 207.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/2.252, allocations: 0.6286 MB / 1.003 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009208/2.261, allocations: 4.962 MB / 1.008 GB, free: 201.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/2.262, allocations: 27.94 kB / 1.008 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-05/2.262, allocations: 15.98 kB / 1.008 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/2.262, allocations: 11.97 kB / 1.008 GB, free: 201.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02719/2.289, allocations: 13.09 MB / 1.021 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/2.289, allocations: 8 kB / 1.021 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/2.291, allocations: 403.4 kB / 1.021 GB, free: 188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/2.293, allocations: 0.9815 MB / 1.022 GB, free: 187 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/2.293, allocations: 47.95 kB / 1.022 GB, free: 187 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/2.304, allocations: 11.57 MB / 1.033 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.304, allocations: 0 / 1.033 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/2.315, allocations: 8.29 MB / 1.041 GB, free: 166.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/2.318, allocations: 0.6881 MB / 1.042 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002016/2.32, allocations: 36 kB / 1.042 GB, free: 165.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/2.323, allocations: 163.8 kB / 1.042 GB, free: 165.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000578/2.324, allocations: 153.7 kB / 1.042 GB, free: 165.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/2.324, allocations: 67.75 kB / 1.042 GB, free: 165.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008175/2.332, allocations: 4.713 MB / 1.047 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/2.332, allocations: 0 / 1.047 GB, free: 160.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008772/2.341, allocations: 1.673 MB / 1.049 GB, free: 159 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (195): * Single equations (assignments): 188 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01187/2.353, allocations: 8.975 MB / 1.057 GB, free: 150 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01203/2.365, allocations: 7.628 MB / 1.065 GB, free: 142.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/2.365, allocations: 3.938 kB / 1.065 GB, free: 142.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/2.368, allocations: 2.68 MB / 1.068 GB, free: 139.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/2.375, allocations: 0.9454 MB / 1.068 GB, free: 138.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/2.487, allocations: 68.08 MB / 1.135 GB, free: 64.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006925/2.494, allocations: 5.413 MB / 1.14 GB, free: 58.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006515/2.5, allocations: 2.722 MB / 1.143 GB, free: 56.06 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004276/2.504, allocations: 3.623 MB / 1.146 GB, free: 52.44 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/2.504, allocations: 0 / 1.146 GB, free: 52.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4383/2.943, allocations: 137.8 MB / 1.281 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/2.943, allocations: 204.8 kB / 1.281 GB, free: 175.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/8.859, allocations: 4 kB / 1.281 GB, free: 175.1 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat