Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2",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.001806/0.001806, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009124, allocations: 93.41 kB / 292.1 MB, free: 10.94 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.3713/0.3713, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 8 kB / 460 MB, free: 1.465 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3758, allocations: 61.91 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.516, allocations: 107 MB / 0.6141 GB, free: 4.105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.5163, allocations: 91.92 kB / 0.6142 GB, free: 4.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6796/1.196, allocations: 156.1 MB / 0.7666 GB, free: 77.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.866e-06/1.196, allocations: 3.812 kB / 0.7666 GB, free: 77.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000654/1.197, allocations: 152.4 kB / 0.7668 GB, free: 77.11 MB / 490.7 MB 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.03049/1.227, allocations: 8.384 MB / 0.775 GB, free: 70.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.227, allocations: 12.03 kB / 0.775 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00707/1.234, allocations: 1.314 MB / 0.7763 GB, free: 69.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04419/1.278, allocations: 11.91 MB / 0.7879 GB, free: 57.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02769/1.306, allocations: 10.03 MB / 0.7977 GB, free: 47.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006913/1.307, allocations: 0.5697 MB / 0.7982 GB, free: 46.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004575/1.312, allocations: 0.7691 MB / 0.799 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0456/1.357, allocations: 18.11 MB / 0.8167 GB, free: 26.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008103/1.358, allocations: 103 kB / 0.8168 GB, free: 26.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00399/1.362, allocations: 367.8 kB / 0.8171 GB, free: 25.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002307/1.364, allocations: 1.567 MB / 0.8187 GB, free: 24.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03096/1.395, allocations: 14.59 MB / 0.8329 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4496/1.845, allocations: 75.47 MB / 0.9066 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.863, allocations: 7.304 MB / 0.9138 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/1.863, allocations: 0.6433 MB / 0.9144 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.194e-05/1.863, allocations: 67.95 kB / 0.9144 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 5.771e-06/1.863, allocations: 1.531 kB / 0.9144 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.07497/1.938, allocations: 26.36 MB / 0.9402 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/1.939, allocations: 288.4 kB / 0.9405 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01883/1.957, allocations: 6.53 MB / 0.9468 GB, free: 42.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006459/1.958, allocations: 65.39 kB / 0.9469 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005652/1.964, allocations: 5.366 MB / 0.9521 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/1.966, allocations: 0.9871 MB / 0.9531 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/1.967, allocations: 175.9 kB / 0.9533 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001325/1.969, allocations: 0.6638 MB / 0.9539 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/1.974, allocations: 2.855 MB / 0.9567 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008634/1.983, allocations: 8.1 MB / 0.9646 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007104/1.99, allocations: 4.712 MB / 0.9692 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002654/1.99, allocations: 54.34 kB / 0.9693 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02554/2.016, allocations: 11.52 MB / 0.9805 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005907/2.016, allocations: 86.47 kB / 0.9806 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008101/2.017, allocations: 183.2 kB / 0.9808 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003884/2.021, allocations: 1.038 MB / 0.9818 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007406/2.029, allocations: 1.953 MB / 0.9837 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/2.041, allocations: 11.42 MB / 0.9948 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009131/2.05, allocations: 462.9 kB / 0.9953 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002167/2.053, allocations: 0.5136 MB / 0.9958 GB, free: 18.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.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],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 (1030): * Single equations (assignments): 1023 * 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.01043/2.063, allocations: 3.531 MB / 0.9992 GB, free: 16.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002283/2.065, allocations: 0.6303 MB / 0.9999 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/2.076, allocations: 4.511 MB / 1.004 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/2.076, allocations: 28 kB / 1.004 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/2.076, allocations: 12 kB / 1.004 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/2.076, allocations: 14.83 kB / 1.004 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03521/2.111, allocations: 12.32 MB / 1.016 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.483e-05/2.111, allocations: 0 / 1.016 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/2.113, allocations: 402.5 kB / 1.017 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/2.116, allocations: 0.6975 MB / 1.017 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/2.116, allocations: 46.81 kB / 1.017 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/2.128, allocations: 10.35 MB / 1.028 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.128, allocations: 0 / 1.028 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/2.144, allocations: 7.812 MB / 1.035 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004078/2.149, allocations: 0.6694 MB / 1.036 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/2.151, allocations: 43.3 kB / 1.036 GB, free: 292 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004494/2.156, allocations: 151.3 kB / 1.036 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000778/2.157, allocations: 150.1 kB / 1.036 GB, free: 88 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004488/2.157, allocations: 63.47 kB / 1.036 GB, free: 28 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01409/2.171, allocations: 4.716 MB / 1.041 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.72e-07/2.171, allocations: 4 kB / 1.041 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01324/2.185, allocations: 1.638 MB / 1.042 GB, free: 10.75 MB / 0.5417 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.01523/2.2, allocations: 8.656 MB / 1.051 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01408/2.214, allocations: 7.426 MB / 1.058 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.214, allocations: 4 kB / 1.058 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003705/2.218, allocations: 2.567 MB / 1.061 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005817/2.224, allocations: 0.9069 MB / 1.062 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5014/2.725, allocations: 194.2 MB / 1.251 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01482/2.74, allocations: 5.573 MB / 1.257 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01137/2.751, allocations: 2.733 MB / 1.259 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00966/2.761, allocations: 3.63 MB / 1.263 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.392e-06/2.761, allocations: 0 / 1.263 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/3.334, allocations: 135.7 MB / 1.395 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/3.334, allocations: 196.7 kB / 1.396 GB, free: 153.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/10.88, allocations: 0 / 1.396 GB, free: 153.9 MB / 0.5886 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat