Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces",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.002474/0.002473, allocations: 180.6 kB / 13.66 MB, free: 1.664 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.004/2.004, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001142/0.001141, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.288/0.288, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.305e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.534/0.6501, allocations: 106.7 MB / 0.5771 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6504, allocations: 81.77 kB / 0.5772 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.489/1.139, allocations: 111.4 MB / 0.686 GB, free: 5.355 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.14, allocations: 4 kB / 0.686 GB, free: 5.352 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004278/1.14, allocations: 104 kB / 0.6861 GB, free: 5.25 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02329/1.163, allocations: 5.349 MB / 0.6913 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/1.163, allocations: 8.031 kB / 0.6913 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004425/1.168, allocations: 0.9516 MB / 0.6922 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05296/1.221, allocations: 6.927 MB / 0.699 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02742/1.248, allocations: 6.806 MB / 0.7056 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006129/1.249, allocations: 402.5 kB / 0.706 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003012/1.252, allocations: 0.5232 MB / 0.7065 GB, free: 136 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3914/1.643, allocations: 12.9 MB / 0.7191 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005504/1.644, allocations: 81.22 kB / 0.7192 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003/1.647, allocations: 257.5 kB / 0.7195 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/1.651, allocations: 1.21 MB / 0.7206 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/1.684, allocations: 10.23 MB / 0.7306 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08697/1.771, allocations: 58.49 MB / 0.7877 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/1.79, allocations: 4.644 MB / 0.7923 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/1.794, allocations: 2.214 MB / 0.7944 GB, free: 62.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/1.813, allocations: 6.863 MB / 0.8011 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/1.813, allocations: 51.38 kB / 0.8012 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=181): time 6.933e-06/1.813, allocations: 0 / 0.8012 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=193): time 0.06037/1.873, allocations: 13.36 MB / 0.8142 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/1.874, allocations: 200 kB / 0.8144 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.886, allocations: 5.106 MB / 0.8194 GB, free: 52.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004968/1.887, allocations: 52.05 kB / 0.8195 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003577/1.891, allocations: 3.842 MB / 0.8232 GB, free: 49.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.892, allocations: 0.7614 MB / 0.824 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00086/1.893, allocations: 139.1 kB / 0.8241 GB, free: 48.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004615/1.893, allocations: 0.6115 MB / 0.8247 GB, free: 47.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/1.899, allocations: 2.216 MB / 0.8269 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008561/1.908, allocations: 6.632 MB / 0.8333 GB, free: 40.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008613/1.916, allocations: 3.821 MB / 0.8371 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/1.917, allocations: 44 kB / 0.8371 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=921) (initialization): time 0.02309/1.94, allocations: 8.794 MB / 0.8457 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.94, allocations: 72 kB / 0.8458 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002127/1.94, allocations: 156 kB / 0.8459 GB, free: 29.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/1.942, allocations: 0.5882 MB / 0.8465 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009813/1.952, allocations: 1.616 MB / 0.8481 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008696/1.961, allocations: 5.6 MB / 0.8535 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008461/1.969, allocations: 375.4 kB / 0.8539 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.971, allocations: 435.6 kB / 0.8543 GB, free: 21.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (871): * Single equations (assignments): 866 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002408/1.974, allocations: 0.6634 MB / 0.855 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/1.975, allocations: 481.7 kB / 0.8554 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/1.984, allocations: 2.983 MB / 0.8583 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.695e-05/1.984, allocations: 23.91 kB / 0.8583 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/1.984, allocations: 4 kB / 0.8584 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/1.984, allocations: 7.125 kB / 0.8584 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/2.009, allocations: 8.145 MB / 0.8663 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/2.009, allocations: 0 / 0.8663 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/2.012, allocations: 290.5 kB / 0.8666 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/2.014, allocations: 345.2 kB / 0.8669 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004253/2.015, allocations: 34.72 kB / 0.867 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007244/2.022, allocations: 4.939 MB / 0.8718 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/2.022, allocations: 15.62 kB / 0.8718 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/2.035, allocations: 5.94 MB / 0.8776 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/2.039, allocations: 0.797 MB / 0.8784 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001528/2.04, allocations: 32 kB / 0.8784 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/2.044, allocations: 87.89 kB / 0.8785 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006757/2.045, allocations: 119.5 kB / 0.8786 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/2.045, allocations: 55.66 kB / 0.8786 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01125/2.056, allocations: 3.64 MB / 0.8822 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.407e-06/2.056, allocations: 112 / 0.8822 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009557/2.066, allocations: 1.197 MB / 0.8834 GB, free: 10.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01655/2.083, allocations: 7.075 MB / 0.8903 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01505/2.098, allocations: 5.553 MB / 0.8957 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/2.098, allocations: 0 / 0.8957 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004315/2.102, allocations: 1.658 MB / 0.8973 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/2.108, allocations: 0.5952 MB / 0.8979 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04262/2.15, allocations: 11.74 MB / 0.9094 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3695/2.52, allocations: 4.137 MB / 0.9134 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00657/2.526, allocations: 2.577 MB / 0.9159 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/2.527, allocations: 0 / 0.9159 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.897/7.423, allocations: 148.9 MB / 1.061 GB, free: 43.56 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat