Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 230.7 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 92.56 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.71e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 61.93 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5983, allocations: 107.5 MB / 0.5997 GB, free: 4.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5986, allocations: 79.95 kB / 0.5998 GB, free: 4.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6137/1.212, allocations: 106 MB / 0.7033 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.137e-06/1.212, allocations: 0.6562 kB / 0.7033 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006957/1.213, allocations: 103.2 kB / 0.7034 GB, free: 105.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.02226/1.235, allocations: 5.15 MB / 0.7085 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.235, allocations: 18.09 kB / 0.7085 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03301/1.268, allocations: 6.879 MB / 0.7152 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0226/1.291, allocations: 6.379 MB / 0.7214 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/1.292, allocations: 165.8 kB / 0.7216 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/1.295, allocations: 302.2 kB / 0.7219 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01659/1.312, allocations: 6.8 MB / 0.7285 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/1.335, allocations: 10.88 MB / 0.7391 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003815/1.335, allocations: 78.5 kB / 0.7392 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/1.337, allocations: 37.69 kB / 0.7392 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/1.339, allocations: 1.135 MB / 0.7403 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/1.39, allocations: 54.43 MB / 0.7935 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/1.394, allocations: 3.099 MB / 0.7965 GB, free: 57.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.396, allocations: 1.804 MB / 0.7983 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/1.396, allocations: 22.2 kB / 0.7983 GB, free: 57.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.396, allocations: 61.56 kB / 0.7984 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=147): time 4.338e-06/1.396, allocations: 0 / 0.7984 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=161): time 0.02943/1.425, allocations: 16.76 MB / 0.8147 GB, free: 49.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/1.425, allocations: 222.2 kB / 0.815 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006493/1.432, allocations: 3.94 MB / 0.8188 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004044/1.432, allocations: 25.7 kB / 0.8188 GB, free: 45.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.434, allocations: 3.95 MB / 0.8227 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006979/1.435, allocations: 0.6377 MB / 0.8233 GB, free: 41.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.435, allocations: 0.75 kB / 0.8233 GB, free: 41.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002952/1.436, allocations: 0.5947 MB / 0.8239 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/1.438, allocations: 1.879 MB / 0.8257 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/1.442, allocations: 6.264 MB / 0.8318 GB, free: 30.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004161/1.446, allocations: 3.425 MB / 0.8352 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.455e-05/1.446, allocations: 44 kB / 0.8352 GB, free: 27.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=893) (initialization): time 0.0132/1.459, allocations: 7.493 MB / 0.8425 GB, free: 21.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/1.459, allocations: 79.47 kB / 0.8426 GB, free: 21.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/1.459, allocations: 156 kB / 0.8428 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.461, allocations: 0.6021 MB / 0.8434 GB, free: 20.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/1.465, allocations: 1.548 MB / 0.8449 GB, free: 19.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/1.47, allocations: 5.506 MB / 0.8502 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.476, allocations: 216.1 kB / 0.8504 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.477, allocations: 431.5 kB / 0.8509 GB, free: 13.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (841): * Single equations (assignments): 836 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008935/1.478, allocations: 0.4954 MB / 0.8513 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003831/1.482, allocations: 2.598 MB / 0.8539 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/1.482, allocations: 402.8 kB / 0.8543 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/1.486, allocations: 2.227 MB / 0.8564 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.486, allocations: 20 kB / 0.8565 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.486, allocations: 4 kB / 0.8565 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.486, allocations: 14.59 kB / 0.8565 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.499, allocations: 6.354 MB / 0.8627 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.499, allocations: 0 / 0.8627 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/1.5, allocations: 224.4 kB / 0.8629 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009293/1.501, allocations: 351 kB / 0.8632 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.501, allocations: 7.938 kB / 0.8632 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/1.506, allocations: 4.856 MB / 0.868 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.506, allocations: 7.969 kB / 0.868 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/1.513, allocations: 4.558 MB / 0.8724 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.515, allocations: 438.3 kB / 0.8729 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006559/1.515, allocations: 10.42 kB / 0.8729 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.517, allocations: 52.2 kB / 0.8729 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/1.517, allocations: 79.8 kB / 0.873 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.517, allocations: 47.42 kB / 0.873 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006142/1.523, allocations: 2.657 MB / 0.8756 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/1.523, allocations: 0 / 0.8756 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008063/1.531, allocations: 0.9609 MB / 0.8766 GB, free: 6.105 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 114 * 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.007825/1.539, allocations: 5.396 MB / 0.8818 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008995/1.548, allocations: 4.684 MB / 0.8864 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.548, allocations: 0 / 0.8864 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.55, allocations: 1.363 MB / 0.8877 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.553, allocations: 490.8 kB / 0.8882 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03034/1.584, allocations: 10.07 MB / 0.898 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3398/1.924, allocations: 3.972 MB / 0.9019 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008051/1.932, allocations: 2.173 MB / 0.904 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00426/1.936, allocations: 2.351 MB / 0.9063 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/1.936, allocations: 2.156 kB / 0.9063 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1509/2.087, allocations: 81.89 MB / 0.9863 GB, free: 99.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/2.087, allocations: 132.8 kB / 0.9864 GB, free: 98.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.12/7.207, allocations: 0 / 0.9864 GB, free: 98.84 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat