Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 176.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3685/0.3685, allocations: 43.54 MB / 314.5 MB, free: 8.855 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005324, allocations: 16 kB / 384 MB, free: 8.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.136, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3227/0.4588, allocations: 63.14 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04046/0.4993, allocations: 14.52 MB / 0.5083 GB, free: 364 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02226/0.5216, allocations: 314.8 kB / 0.5086 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0186/0.5403, allocations: 3.155 MB / 0.5117 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04947/0.5898, allocations: 9.094 MB / 0.5206 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.5959, allocations: 0.7757 MB / 0.5213 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04544/0.6414, allocations: 26.95 MB / 0.5476 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.6515, allocations: 5.698 MB / 0.5532 GB, free: 15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/0.6553, allocations: 1.398 MB / 0.5546 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.6588, allocations: 1.873 MB / 0.5564 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00108/0.6599, allocations: 192 kB / 0.5566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.663, allocations: 1.061 MB / 0.5576 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002903/0.666, allocations: 2.198 MB / 0.5598 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.6682, allocations: 1.123 MB / 0.5609 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.681, allocations: 7.548 MB / 0.5682 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6811, allocations: 4 kB / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.538e-06/0.6811, allocations: 0 / 0.5682 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005259/0.6817, allocations: 0 / 0.5682 GB, free: 15.56 MB / 446.1 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.01947/0.7012, allocations: 5.755 MB / 0.5739 GB, free: 9.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/0.7012, allocations: 12.03 kB / 0.5739 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004543/0.7058, allocations: 0.926 MB / 0.5748 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04496/0.7508, allocations: 8.098 MB / 0.5827 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01192/0.7628, allocations: 4.288 MB / 0.5869 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.7632, allocations: 307.8 kB / 0.5872 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.7652, allocations: 411.7 kB / 0.5876 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/0.7932, allocations: 12.98 MB / 0.6002 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.7935, allocations: 55.52 kB / 0.6003 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.7941, allocations: 199.8 kB / 0.6005 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.7984, allocations: 2.511 MB / 0.6029 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/0.8217, allocations: 10.68 MB / 0.6134 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3999/1.222, allocations: 49.83 MB / 0.662 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.233, allocations: 4.446 MB / 0.6664 GB, free: 106.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/1.246, allocations: 6.567 MB / 0.6728 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/1.247, allocations: 50.16 kB / 0.6728 GB, free: 103.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 6.452e-06/1.247, allocations: 3.031 kB / 0.6728 GB, free: 103.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05624/1.303, allocations: 17.92 MB / 0.6903 GB, free: 95.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/1.303, allocations: 230.9 kB / 0.6905 GB, free: 95.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01683/1.32, allocations: 6.149 MB / 0.6966 GB, free: 92.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006949/1.321, allocations: 55.22 kB / 0.6966 GB, free: 92.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004734/1.325, allocations: 4.114 MB / 0.7006 GB, free: 89.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.327, allocations: 0.7681 MB / 0.7014 GB, free: 89.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/1.328, allocations: 151.6 kB / 0.7015 GB, free: 89.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004426/1.328, allocations: 0.6102 MB / 0.7021 GB, free: 88.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/1.333, allocations: 2.386 MB / 0.7044 GB, free: 87.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008762/1.342, allocations: 6.874 MB / 0.7112 GB, free: 81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/1.349, allocations: 3.972 MB / 0.715 GB, free: 79.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002334/1.349, allocations: 46.28 kB / 0.7151 GB, free: 79.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02067/1.37, allocations: 9.519 MB / 0.7244 GB, free: 75.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/1.371, allocations: 72.69 kB / 0.7244 GB, free: 75.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005099/1.371, allocations: 161.3 kB / 0.7246 GB, free: 75.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/1.373, allocations: 0.7545 MB / 0.7253 GB, free: 74.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007034/1.38, allocations: 1.669 MB / 0.727 GB, free: 73.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007741/1.388, allocations: 6.592 MB / 0.7334 GB, free: 66.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007775/1.396, allocations: 390.8 kB / 0.7338 GB, free: 65.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/1.398, allocations: 444 kB / 0.7342 GB, free: 65.46 MB / 494.1 MB 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.007676/1.405, allocations: 2.696 MB / 0.7368 GB, free: 62.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002314/1.408, allocations: 489.6 kB / 0.7373 GB, free: 62.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008077/1.416, allocations: 3.289 MB / 0.7405 GB, free: 58.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.357e-05/1.416, allocations: 24 kB / 0.7405 GB, free: 58.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/1.416, allocations: 7.953 kB / 0.7405 GB, free: 58.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.416, allocations: 11.97 kB / 0.7406 GB, free: 58.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.436, allocations: 8.845 MB / 0.7492 GB, free: 50.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.436, allocations: 4 kB / 0.7492 GB, free: 50.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.438, allocations: 327.8 kB / 0.7495 GB, free: 49.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/1.439, allocations: 0.495 MB / 0.75 GB, free: 49.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.439, allocations: 36 kB / 0.75 GB, free: 49.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005394/1.445, allocations: 5.896 MB / 0.7558 GB, free: 43.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.445, allocations: 15.98 kB / 0.7558 GB, free: 42.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008515/1.453, allocations: 6.465 MB / 0.7621 GB, free: 36.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/1.457, allocations: 0.8343 MB / 0.7629 GB, free: 35.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001448/1.458, allocations: 30.5 kB / 0.763 GB, free: 35.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.461, allocations: 103.9 kB / 0.7631 GB, free: 35.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.461, allocations: 117 kB / 0.7632 GB, free: 35.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.461, allocations: 52 kB / 0.7632 GB, free: 35.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006433/1.467, allocations: 3.968 MB / 0.7671 GB, free: 31.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.468, allocations: 0 / 0.7671 GB, free: 31.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01003/1.478, allocations: 1.265 MB / 0.7683 GB, free: 30 MB / 494.1 MB 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.01166/1.489, allocations: 7.661 MB / 0.7758 GB, free: 22.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01175/1.501, allocations: 5.884 MB / 0.7816 GB, free: 16.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.501, allocations: 0 / 0.7816 GB, free: 16.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.504, allocations: 1.784 MB / 0.7833 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/1.509, allocations: 0.6008 MB / 0.7839 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3578/1.867, allocations: 135.7 MB / 0.9164 GB, free: 66.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005647/1.873, allocations: 4.243 MB / 0.9206 GB, free: 65.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006065/1.879, allocations: 2.331 MB / 0.9228 GB, free: 65.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005017/1.884, allocations: 2.571 MB / 0.9253 GB, free: 65.03 MB / 0.5137 GB Notification: Performance of SimCode: time 1.512e-06/1.884, allocations: 6.516 kB / 0.9253 GB, free: 65.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.478/2.362, allocations: 99.8 MB / 1.023 GB, free: 130.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/2.362, allocations: 194.3 kB / 1.023 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/7.609, allocations: 0 / 1.023 GB, free: 130.1 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat