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.0008543/0.0008544, allocations: 96.78 kB / 15.7 MB, free: 468 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.0009891/0.0009891, allocations: 174.9 kB / 16.58 MB, free: 6.848 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.451/1.451, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.3597/0.3597, allocations: 43.55 MB / 314.6 MB, free: 8.656 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.000518/0.0005182, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2721/0.3961, allocations: 66.87 MB / 0.4978 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03457/0.4307, allocations: 13.88 MB / 0.5113 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.019/0.4497, allocations: 317.7 kB / 0.5116 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01296/0.4627, allocations: 3.498 MB / 0.5151 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0333/0.4961, allocations: 10.34 MB / 0.5252 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.5017, allocations: 0.7983 MB / 0.5259 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04643/0.5481, allocations: 35.12 MB / 0.5602 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.5587, allocations: 5.746 MB / 0.5659 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.5626, allocations: 1.716 MB / 0.5675 GB, free: 292 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004616/0.5673, allocations: 2.695 MB / 0.5702 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.5689, allocations: 192 kB / 0.5703 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.5724, allocations: 1.096 MB / 0.5714 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003561/0.576, allocations: 2.365 MB / 0.5737 GB, free: 9.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00237/0.5784, allocations: 1.127 MB / 0.5748 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.5876, allocations: 7.548 MB / 0.5822 GB, free: 1.223 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.5877, allocations: 7.984 kB / 0.5822 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5877, allocations: 0 / 0.5822 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004052/0.5881, allocations: 4 kB / 0.5822 GB, free: 1.211 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.01404/0.6021, allocations: 5.615 MB / 0.5877 GB, free: 11.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.6022, allocations: 8.031 kB / 0.5877 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003732/0.606, allocations: 0.9221 MB / 0.5886 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03276/0.6387, allocations: 6.237 MB / 0.5947 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009454/0.6482, allocations: 4.69 MB / 0.5993 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.6485, allocations: 307.8 kB / 0.5996 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008912/0.6494, allocations: 419.6 kB / 0.6 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.6698, allocations: 12.87 MB / 0.6125 GB, free: 1.066 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.67, allocations: 59.45 kB / 0.6126 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005036/0.6705, allocations: 199.8 kB / 0.6128 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/0.6741, allocations: 2.503 MB / 0.6152 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.6935, allocations: 10.54 MB / 0.6255 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2943/0.9878, allocations: 49.67 MB / 0.674 GB, free: 107.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.998, allocations: 4.429 MB / 0.6783 GB, free: 106.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/1.002, allocations: 2.331 MB / 0.6806 GB, free: 105.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/1.013, allocations: 6.489 MB / 0.687 GB, free: 102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.013, allocations: 51.7 kB / 0.687 GB, free: 101.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 6.522e-06/1.013, allocations: 3.156 kB / 0.687 GB, free: 101.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04426/1.058, allocations: 17.6 MB / 0.7042 GB, free: 94.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.058, allocations: 228.2 kB / 0.7044 GB, free: 94.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007022/1.065, allocations: 5.904 MB / 0.7102 GB, free: 91.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004071/1.065, allocations: 55.53 kB / 0.7102 GB, free: 91.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/1.068, allocations: 4.111 MB / 0.7142 GB, free: 88.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.069, allocations: 0.7719 MB / 0.715 GB, free: 87.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/1.069, allocations: 145.1 kB / 0.7151 GB, free: 87.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00029/1.069, allocations: 0.6072 MB / 0.7157 GB, free: 86.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/1.072, allocations: 2.388 MB / 0.7181 GB, free: 85.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004175/1.076, allocations: 6.898 MB / 0.7248 GB, free: 77.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/1.081, allocations: 3.97 MB / 0.7287 GB, free: 73.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-05/1.081, allocations: 48 kB / 0.7287 GB, free: 73.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.0138/1.095, allocations: 9.521 MB / 0.738 GB, free: 63.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.095, allocations: 78.72 kB / 0.7381 GB, free: 63.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001369/1.095, allocations: 163.9 kB / 0.7382 GB, free: 63.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/1.096, allocations: 0.7487 MB / 0.739 GB, free: 62.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004786/1.101, allocations: 1.673 MB / 0.7406 GB, free: 60.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/1.107, allocations: 6.482 MB / 0.7469 GB, free: 54.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005612/1.112, allocations: 391.4 kB / 0.7473 GB, free: 53.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008917/1.113, allocations: 448 kB / 0.7477 GB, free: 53.38 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.004241/1.118, allocations: 2.699 MB / 0.7504 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008976/1.119, allocations: 485.6 kB / 0.7508 GB, free: 50.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005167/1.124, allocations: 3.293 MB / 0.7541 GB, free: 46.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/1.124, allocations: 20 kB / 0.7541 GB, free: 46.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.124, allocations: 12 kB / 0.7541 GB, free: 46.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.124, allocations: 7.969 kB / 0.7541 GB, free: 46.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/1.139, allocations: 8.826 MB / 0.7627 GB, free: 37.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.139, allocations: 7.953 kB / 0.7627 GB, free: 37.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/1.141, allocations: 323.5 kB / 0.763 GB, free: 37.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/1.142, allocations: 0.5044 MB / 0.7635 GB, free: 37.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/1.142, allocations: 32 kB / 0.7635 GB, free: 37.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/1.147, allocations: 5.779 MB / 0.7692 GB, free: 31.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/1.147, allocations: 4 kB / 0.7692 GB, free: 31.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007203/1.154, allocations: 5.947 MB / 0.775 GB, free: 25.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.157, allocations: 0.8226 MB / 0.7758 GB, free: 24.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.158, allocations: 35.98 kB / 0.7758 GB, free: 24.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.16, allocations: 104.8 kB / 0.7759 GB, free: 24.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.16, allocations: 113 kB / 0.7761 GB, free: 23.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/1.16, allocations: 55.98 kB / 0.7761 GB, free: 23.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006799/1.167, allocations: 3.773 MB / 0.7798 GB, free: 20.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.167, allocations: 7.938 kB / 0.7798 GB, free: 20.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006822/1.174, allocations: 1.242 MB / 0.781 GB, free: 18.9 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.007915/1.182, allocations: 6.597 MB / 0.7875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008802/1.191, allocations: 5.884 MB / 0.7932 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.191, allocations: 0 / 0.7932 GB, free: 6.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.193, allocations: 1.783 MB / 0.7949 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/1.199, allocations: 0.6219 MB / 0.7955 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2928/1.492, allocations: 48.62 MB / 0.843 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00535/1.497, allocations: 4.123 MB / 0.8471 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006593/1.504, allocations: 2.322 MB / 0.8493 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004184/1.508, allocations: 2.57 MB / 0.8518 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/1.508, allocations: 1.25 kB / 0.8518 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1419/1.65, allocations: 100.7 MB / 0.9501 GB, free: 74.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/1.65, allocations: 203.6 kB / 0.9503 GB, free: 74.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/5.778, allocations: 7.938 kB / 0.9503 GB, free: 74.59 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