Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.00159, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004677, allocations: 15.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1221, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.4348/0.5569, allocations: 63.12 MB / 0.5405 GB, free: 9.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04234/0.5993, allocations: 14.52 MB / 0.5547 GB, free: 3.469 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01733/0.6167, allocations: 313.6 kB / 0.555 GB, free: 3.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.6286, allocations: 3.161 MB / 0.558 GB, free: 1.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03808/0.6667, allocations: 9.097 MB / 0.5669 GB, free: 11.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005728/0.6725, allocations: 0.7756 MB / 0.5677 GB, free: 11.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.07258/0.7451, allocations: 26.94 MB / 0.594 GB, free: 2.109 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.7576, allocations: 5.701 MB / 0.5996 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.7615, allocations: 1.394 MB / 0.6009 GB, free: 10.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.7662, allocations: 1.873 MB / 0.6027 GB, free: 9.062 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.7677, allocations: 192 kB / 0.6029 GB, free: 8.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/0.7718, allocations: 1.065 MB / 0.604 GB, free: 7.809 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004201/0.776, allocations: 2.19 MB / 0.6061 GB, free: 5.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.7785, allocations: 1.127 MB / 0.6072 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.792, allocations: 7.548 MB / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.792, allocations: 0 / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.792, allocations: 0 / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003241/0.7924, allocations: 0 / 0.6146 GB, free: 12.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02096/0.8133, allocations: 5.763 MB / 0.6202 GB, free: 7.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.8134, allocations: 8.031 kB / 0.6202 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003412/0.8168, allocations: 0.9221 MB / 0.6211 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08629/0.9032, allocations: 8.102 MB / 0.629 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/0.917, allocations: 4.295 MB / 0.6332 GB, free: 9.621 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.9174, allocations: 303.8 kB / 0.6335 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/0.9189, allocations: 411.7 kB / 0.6339 GB, free: 8.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03476/0.9536, allocations: 12.97 MB / 0.6466 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002446/0.954, allocations: 63.42 kB / 0.6466 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008536/0.9548, allocations: 195.8 kB / 0.6468 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007308/0.9621, allocations: 2.503 MB / 0.6493 GB, free: 8.289 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03592/0.9981, allocations: 10.68 MB / 0.6597 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09879/1.097, allocations: 49.84 MB / 0.7084 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/1.117, allocations: 4.447 MB / 0.7127 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3508/1.468, allocations: 6.572 MB / 0.7191 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/1.468, allocations: 53.61 kB / 0.7192 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=183): time 6.272e-06/1.468, allocations: 2.906 kB / 0.7192 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=195): time 0.07504/1.543, allocations: 17.92 MB / 0.7367 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/1.543, allocations: 228.2 kB / 0.7369 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.555, allocations: 6.151 MB / 0.7429 GB, free: 177 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004795/1.555, allocations: 54.61 kB / 0.743 GB, free: 177 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003134/1.559, allocations: 3.921 MB / 0.7468 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.56, allocations: 0.7688 MB / 0.7475 GB, free: 173.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005053/1.56, allocations: 143.2 kB / 0.7477 GB, free: 173.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003912/1.561, allocations: 0.613 MB / 0.7483 GB, free: 172.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005296/1.566, allocations: 2.396 MB / 0.7506 GB, free: 172 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00747/1.573, allocations: 6.867 MB / 0.7573 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00856/1.582, allocations: 3.969 MB / 0.7612 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001528/1.582, allocations: 44 kB / 0.7612 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02415/1.606, allocations: 9.312 MB / 0.7703 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.607, allocations: 81.53 kB / 0.7704 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/1.607, allocations: 160 kB / 0.7706 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/1.61, allocations: 0.7598 MB / 0.7713 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/1.62, allocations: 1.661 MB / 0.7729 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/1.631, allocations: 6.583 MB / 0.7794 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/1.64, allocations: 392.8 kB / 0.7797 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.641, allocations: 445.7 kB / 0.7802 GB, free: 143 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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 (880): * Single equations (assignments): 873 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007346/1.648, allocations: 2.703 MB / 0.7828 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.65, allocations: 489.6 kB / 0.7833 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008741/1.659, allocations: 3.285 MB / 0.7865 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.605e-05/1.659, allocations: 25.48 kB / 0.7865 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.659, allocations: 8 kB / 0.7865 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-05/1.659, allocations: 12.83 kB / 0.7865 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.683, allocations: 8.842 MB / 0.7951 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/1.683, allocations: 5.219 kB / 0.7952 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/1.687, allocations: 327.5 kB / 0.7955 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/1.689, allocations: 0.4981 MB / 0.796 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/1.689, allocations: 41 kB / 0.796 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009324/1.699, allocations: 5.899 MB / 0.8018 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.699, allocations: 7.938 kB / 0.8018 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.712, allocations: 6.458 MB / 0.8081 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003153/1.715, allocations: 0.8343 MB / 0.8089 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001224/1.717, allocations: 31.94 kB / 0.8089 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/1.72, allocations: 103.9 kB / 0.809 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/1.72, allocations: 109 kB / 0.8091 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/1.721, allocations: 60.45 kB / 0.8092 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008464/1.729, allocations: 3.968 MB / 0.813 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.804e-06/1.729, allocations: 112 / 0.813 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008593/1.738, allocations: 1.269 MB / 0.8143 GB, free: 107.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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 {(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.01382/1.752, allocations: 7.669 MB / 0.8218 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.764, allocations: 5.877 MB / 0.8275 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.764, allocations: 4.125 kB / 0.8275 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003627/1.768, allocations: 1.769 MB / 0.8292 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/1.773, allocations: 0.6161 MB / 0.8298 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4443/2.217, allocations: 136.3 MB / 0.963 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/2.227, allocations: 4.254 MB / 0.9671 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006011/2.234, allocations: 2.627 MB / 0.9697 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/2.234, allocations: 3.781 kB / 0.9697 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.762/7.996, allocations: 152.4 MB / 1.119 GB, free: 174.4 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat