Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_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.001496/0.001496, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 94.14 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1993/0.1993, allocations: 43.5 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.892e-05/1.895e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4081/0.5295, allocations: 106.1 MB / 0.5696 GB, free: 5.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5298, allocations: 76.28 kB / 0.5697 GB, free: 5.512 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2868/0.8166, allocations: 109 MB / 0.6762 GB, free: 424 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8167, allocations: 3.938 kB / 0.6762 GB, free: 420 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002653/0.817, allocations: 108 kB / 0.6763 GB, free: 312 kB / 474.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.01802/0.835, allocations: 5.345 MB / 0.6815 GB, free: 10.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.8351, allocations: 15.95 kB / 0.6815 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.8636, allocations: 6.927 MB / 0.6883 GB, free: 3.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/0.882, allocations: 6.809 MB / 0.6949 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.8823, allocations: 172 kB / 0.6951 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.8843, allocations: 315.9 kB / 0.6954 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0151/0.8994, allocations: 7.225 MB / 0.7024 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2966/1.196, allocations: 11.41 MB / 0.7136 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003685/1.196, allocations: 80.22 kB / 0.7137 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001079/1.198, allocations: 38.95 kB / 0.7137 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/1.2, allocations: 1.207 MB / 0.7149 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05659/1.256, allocations: 56.28 MB / 0.7698 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/1.26, allocations: 3.449 MB / 0.7732 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/1.262, allocations: 2.092 MB / 0.7752 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/1.263, allocations: 35.31 kB / 0.7753 GB, free: 70.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/1.263, allocations: 58.06 kB / 0.7753 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=183): time 4.749e-06/1.263, allocations: 0 / 0.7753 GB, free: 70.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=197): time 0.02954/1.292, allocations: 17.32 MB / 0.7922 GB, free: 64.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/1.292, allocations: 203.7 kB / 0.7924 GB, free: 64.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/1.298, allocations: 4.072 MB / 0.7964 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/1.299, allocations: 28.8 kB / 0.7964 GB, free: 62.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/1.301, allocations: 4.08 MB / 0.8004 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008746/1.302, allocations: 0.7622 MB / 0.8012 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/1.302, allocations: 3.75 kB / 0.8012 GB, free: 59.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003022/1.302, allocations: 0.6099 MB / 0.8018 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002701/1.305, allocations: 2.162 MB / 0.8039 GB, free: 58.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005674/1.311, allocations: 6.726 MB / 0.8104 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005217/1.316, allocations: 3.781 MB / 0.8141 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.316, allocations: 51.14 kB / 0.8142 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.01446/1.331, allocations: 8.226 MB / 0.8222 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/1.331, allocations: 74.31 kB / 0.8223 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001742/1.331, allocations: 171.9 kB / 0.8225 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/1.332, allocations: 0.59 MB / 0.823 GB, free: 46.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005091/1.337, allocations: 1.685 MB / 0.8247 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/1.342, allocations: 5.415 MB / 0.83 GB, free: 42.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/1.348, allocations: 240 kB / 0.8302 GB, free: 42.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.349, allocations: 456.1 kB / 0.8306 GB, free: 42.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 747 * 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 (909): * Single equations (assignments): 904 * 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.001069/1.35, allocations: 0.5016 MB / 0.8311 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004539/1.355, allocations: 3.108 MB / 0.8342 GB, free: 41.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/1.355, allocations: 430.5 kB / 0.8346 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/1.36, allocations: 2.932 MB / 0.8374 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/1.36, allocations: 21.06 kB / 0.8375 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.36, allocations: 10.09 kB / 0.8375 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.36, allocations: 10.55 kB / 0.8375 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.371, allocations: 7.333 MB / 0.8446 GB, free: 35.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.371, allocations: 0 / 0.8446 GB, free: 35.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/1.373, allocations: 299.6 kB / 0.8449 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/1.373, allocations: 340.7 kB / 0.8452 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.374, allocations: 15.78 kB / 0.8453 GB, free: 34.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/1.378, allocations: 4.729 MB / 0.8499 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.378, allocations: 7.938 kB / 0.8499 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006292/1.384, allocations: 5.533 MB / 0.8553 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.386, allocations: 0.6977 MB / 0.856 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/1.386, allocations: 4 kB / 0.856 GB, free: 24.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.388, allocations: 68.55 kB / 0.856 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.388, allocations: 113.8 kB / 0.8561 GB, free: 24.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.388, allocations: 52.62 kB / 0.8562 GB, free: 24.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004061/1.392, allocations: 2.758 MB / 0.8589 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/1.392, allocations: 0 / 0.8589 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006083/1.398, allocations: 1.032 MB / 0.8599 GB, free: 21.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (156): * Single equations (assignments): 151 * 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.006247/1.404, allocations: 6.46 MB / 0.8662 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007627/1.412, allocations: 5.342 MB / 0.8714 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.412, allocations: 0 / 0.8714 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.414, allocations: 1.654 MB / 0.873 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.416, allocations: 483.5 kB / 0.8735 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02308/1.439, allocations: 10.98 MB / 0.8842 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004568/1.444, allocations: 4.136 MB / 0.8883 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006038/1.45, allocations: 2.34 MB / 0.8905 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003403/1.453, allocations: 2.51 MB / 0.893 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/1.453, allocations: 0 / 0.893 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4249/1.878, allocations: 86.83 MB / 0.9778 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.879, allocations: 131.3 kB / 0.9779 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.612/6.49, allocations: 0 / 0.9779 GB, free: 100.7 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat does not exist to compare? outputFormat=mat