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.0008093/0.0008095, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009139/0.0009139, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 15.98 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3787/0.5037, allocations: 82.98 MB / 0.5514 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05/0.5537, allocations: 16.94 MB / 0.5679 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02421/0.578, allocations: 394.1 kB / 0.5683 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.5942, allocations: 4.417 MB / 0.5726 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03973/0.6339, allocations: 12.68 MB / 0.585 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006039/0.64, allocations: 0.9011 MB / 0.5859 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.08127/0.7213, allocations: 62.66 MB / 0.6471 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01025/0.7316, allocations: 6.837 MB / 0.6537 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.7353, allocations: 1.747 MB / 0.6554 GB, free: 5.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.7401, allocations: 2.757 MB / 0.6581 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.7411, allocations: 200 kB / 0.6583 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.7438, allocations: 1.1 MB / 0.6594 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.7466, allocations: 2.478 MB / 0.6618 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.7483, allocations: 1.201 MB / 0.663 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009786/0.7581, allocations: 8.051 MB / 0.6709 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.7582, allocations: 4 kB / 0.6709 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7582, allocations: 0 / 0.6709 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004172/0.7586, allocations: 0 / 0.6709 GB, free: 6.066 MB / 0.4981 GB 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.01559/0.7742, allocations: 6.031 MB / 0.6768 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7743, allocations: 11.97 kB / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003204/0.7775, allocations: 1.009 MB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03227/0.8098, allocations: 6.298 MB / 0.6839 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.8211, allocations: 4.239 MB / 0.688 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.8214, allocations: 353 kB / 0.6884 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.8235, allocations: 471.6 kB / 0.6888 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.8515, allocations: 14.59 MB / 0.7031 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001906/0.8518, allocations: 67.45 kB / 0.7031 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005654/0.8523, allocations: 227.8 kB / 0.7034 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00506/0.8574, allocations: 2.785 MB / 0.7061 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3918/1.249, allocations: 12.33 MB / 0.7181 GB, free: 182.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06432/1.314, allocations: 54.8 MB / 0.7716 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/1.328, allocations: 6.398 MB / 0.7779 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/1.331, allocations: 3.468 MB / 0.7813 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/1.331, allocations: 39.61 kB / 0.7813 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.331, allocations: 57.88 kB / 0.7814 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=218): time 4.098e-06/1.331, allocations: 0 / 0.7814 GB, free: 127.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=260): time 0.0653/1.397, allocations: 29.69 MB / 0.8104 GB, free: 97.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.397, allocations: 209.9 kB / 0.8106 GB, free: 97.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007869/1.405, allocations: 6.047 MB / 0.8165 GB, free: 90.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006766/1.405, allocations: 70.64 kB / 0.8165 GB, free: 90.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.407, allocations: 4.21 MB / 0.8206 GB, free: 86.67 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.409, allocations: 0.9886 MB / 0.8216 GB, free: 85.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/1.409, allocations: 153.5 kB / 0.8218 GB, free: 85.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002891/1.409, allocations: 0.6243 MB / 0.8224 GB, free: 84.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003863/1.413, allocations: 3.239 MB / 0.8255 GB, free: 81.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/1.419, allocations: 7.716 MB / 0.8331 GB, free: 71.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005496/1.424, allocations: 4.878 MB / 0.8378 GB, free: 66.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.749e-05/1.424, allocations: 51.95 kB / 0.8379 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=986) (initialization): time 0.01823/1.442, allocations: 12.26 MB / 0.8498 GB, free: 54.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/1.443, allocations: 73 kB / 0.8499 GB, free: 54.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/1.443, allocations: 156 kB / 0.8501 GB, free: 54.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/1.447, allocations: 1.789 MB / 0.8518 GB, free: 52.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005685/1.452, allocations: 1.766 MB / 0.8535 GB, free: 50.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.466, allocations: 11.99 MB / 0.8652 GB, free: 38.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/1.473, allocations: 471.2 kB / 0.8657 GB, free: 38.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.475, allocations: 464.9 kB / 0.8661 GB, free: 37.6 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.008923/1.483, allocations: 2.873 MB / 0.8689 GB, free: 34.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/1.485, allocations: 0.5129 MB / 0.8694 GB, free: 34.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.497, allocations: 6.388 MB / 0.8757 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/1.497, allocations: 28.94 kB / 0.8757 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.497, allocations: 8 kB / 0.8757 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/1.498, allocations: 15.95 kB / 0.8757 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02925/1.527, allocations: 14.04 MB / 0.8894 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/1.527, allocations: 7.984 kB / 0.8894 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.529, allocations: 447.3 kB / 0.8899 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/1.533, allocations: 1.52 MB / 0.8914 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004643/1.533, allocations: 48.94 kB / 0.8914 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.546, allocations: 11.24 MB / 0.9024 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.546, allocations: 4 kB / 0.9024 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/1.564, allocations: 10.36 MB / 0.9125 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.566, allocations: 0.5959 MB / 0.9131 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.568, allocations: 47.94 kB / 0.9131 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003264/1.571, allocations: 223.7 kB / 0.9133 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/1.572, allocations: 146.9 kB / 0.9135 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004345/1.572, allocations: 64 kB / 0.9136 GB, free: 4.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009836/1.582, allocations: 3.845 MB / 0.9173 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.4e-07/1.582, allocations: 4 kB / 0.9173 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.3456/1.928, allocations: 1.482 MB / 0.9188 GB, free: 181 MB / 0.545 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.02038/1.948, allocations: 11.05 MB / 0.9295 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01659/1.965, allocations: 7.999 MB / 0.9374 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/1.965, allocations: 1.219 kB / 0.9374 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007044/1.972, allocations: 3.303 MB / 0.9406 GB, free: 174.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006681/1.979, allocations: 0.7002 MB / 0.9413 GB, free: 174.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/2.097, allocations: 57.03 MB / 0.997 GB, free: 126.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008296/2.105, allocations: 4.424 MB / 1.001 GB, free: 121.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007912/2.113, allocations: 2.579 MB / 1.004 GB, free: 119.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005318/2.118, allocations: 2.807 MB / 1.007 GB, free: 116.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.743e-06/2.118, allocations: 0 / 1.007 GB, free: 116.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4457/2.564, allocations: 118.7 MB / 1.122 GB, free: 144.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.564, allocations: 209.4 kB / 1.123 GB, free: 144.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.368/7.932, allocations: 7.109 kB / 1.123 GB, free: 144.2 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