Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces",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.002398/0.002405, allocations: 188.7 kB / 16.4 MB, free: 5.625 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.176/2.176, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001574/0.001575, allocations: 94.8 kB / 270.9 MB, free: 13.37 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.3541/0.3541, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006214/0.0006216, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1168, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4841/0.6009, allocations: 97.07 MB / 0.5736 GB, free: 5.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.06649/0.6675, allocations: 21.47 MB / 0.5946 GB, free: 1.477 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02529/0.6928, allocations: 482.9 kB / 0.5951 GB, free: 1.004 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01883/0.7117, allocations: 4.907 MB / 0.5998 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05593/0.7677, allocations: 13.76 MB / 0.6133 GB, free: 14.28 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008564/0.7763, allocations: 1.069 MB / 0.6143 GB, free: 13.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1084/0.8848, allocations: 39.94 MB / 0.6533 GB, free: 5.227 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01767/0.9025, allocations: 8.066 MB / 0.6612 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005017/0.9076, allocations: 1.884 MB / 0.6631 GB, free: 11.21 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.9138, allocations: 2.632 MB / 0.6656 GB, free: 8.566 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.9156, allocations: 280 kB / 0.6659 GB, free: 8.293 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.9195, allocations: 1.007 MB / 0.6669 GB, free: 7.285 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005646/0.9252, allocations: 3.059 MB / 0.6699 GB, free: 4.219 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003022/0.9283, allocations: 1.544 MB / 0.6714 GB, free: 2.664 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.9455, allocations: 10.4 MB / 0.6815 GB, free: 8.234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9456, allocations: 0 / 0.6815 GB, free: 8.234 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.222e-06/0.9456, allocations: 11.94 kB / 0.6815 GB, free: 8.223 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004341/0.9461, allocations: 0 / 0.6815 GB, free: 8.223 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.02857/0.9746, allocations: 7.844 MB / 0.6892 GB, free: 300 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.9747, allocations: 8.031 kB / 0.6892 GB, free: 292 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004649/0.9794, allocations: 1.273 MB / 0.6904 GB, free: 15 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1243/1.104, allocations: 11.31 MB / 0.7015 GB, free: 3.664 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/1.123, allocations: 5.895 MB / 0.7073 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005966/1.124, allocations: 443.2 kB / 0.7077 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/1.127, allocations: 0.5814 MB / 0.7082 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6805/1.807, allocations: 17.74 MB / 0.7256 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005883/1.808, allocations: 80.56 kB / 0.7256 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.811, allocations: 282.3 kB / 0.7259 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0118/1.822, allocations: 3.422 MB / 0.7293 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05001/1.872, allocations: 14.69 MB / 0.7436 GB, free: 175.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.991, allocations: 68.6 MB / 0.8106 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02845/2.019, allocations: 7.286 MB / 0.8177 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/2.02, allocations: 68.8 kB / 0.8178 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/2.02, allocations: 68.62 kB / 0.8178 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 7.303e-06/2.02, allocations: 0 / 0.8178 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=340): time 0.1356/2.155, allocations: 33.22 MB / 0.8503 GB, free: 70.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/2.156, allocations: 297.8 kB / 0.8506 GB, free: 70.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01689/2.172, allocations: 7.83 MB / 0.8582 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/2.174, allocations: 73.7 kB / 0.8583 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004672/2.178, allocations: 5.066 MB / 0.8632 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/2.18, allocations: 1.282 MB / 0.8645 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/2.182, allocations: 199.8 kB / 0.8647 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005881/2.182, allocations: 0.7118 MB / 0.8654 GB, free: 55.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009704/2.192, allocations: 3.794 MB / 0.8691 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/2.205, allocations: 9.363 MB / 0.8782 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/2.219, allocations: 5.821 MB / 0.8839 GB, free: 33.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00015/2.219, allocations: 56 kB / 0.8839 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1244) (initialization): time 0.03727/2.256, allocations: 13.92 MB / 0.8975 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/2.256, allocations: 92.97 kB / 0.8976 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/2.257, allocations: 196 kB / 0.8978 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006526/2.263, allocations: 1.58 MB / 0.8994 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01437/2.277, allocations: 2.281 MB / 0.9016 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/2.3, allocations: 12.67 MB / 0.914 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.311, allocations: 0.5346 MB / 0.9145 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/2.313, allocations: 0.566 MB / 0.915 GB, free: 1.359 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1169): * Single equations (assignments): 1163 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3602/2.674, allocations: 3.578 MB / 0.9185 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002437/2.676, allocations: 0.6505 MB / 0.9192 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02405/2.7, allocations: 7.009 MB / 0.926 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/2.7, allocations: 36.83 kB / 0.926 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-05/2.701, allocations: 12.16 kB / 0.9261 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001117/2.701, allocations: 16.78 kB / 0.9261 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/2.749, allocations: 16.07 MB / 0.9418 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.78e-05/2.749, allocations: 7.562 kB / 0.9418 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006364/2.756, allocations: 0.6271 MB / 0.9424 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005761/2.762, allocations: 1.239 MB / 0.9436 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008778/2.763, allocations: 63 kB / 0.9437 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/2.784, allocations: 11.67 MB / 0.955 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/2.784, allocations: 2 kB / 0.955 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02968/2.814, allocations: 11.76 MB / 0.9665 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/2.819, allocations: 1.254 MB / 0.9678 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/2.821, allocations: 59.3 kB / 0.9678 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006287/2.827, allocations: 219.2 kB / 0.968 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/2.829, allocations: 197.6 kB / 0.9682 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006205/2.829, allocations: 87.25 kB / 0.9683 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01236/2.842, allocations: 5.041 MB / 0.9732 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.703e-06/2.842, allocations: 0 / 0.9732 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01198/2.854, allocations: 1.842 MB / 0.975 GB, free: 133.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03078/2.885, allocations: 12.67 MB / 0.9874 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02154/2.906, allocations: 9.478 MB / 0.9966 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/2.906, allocations: 0 / 0.9966 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009318/2.916, allocations: 3.668 MB / 1 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007268/2.923, allocations: 0.8131 MB / 1.001 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5692/3.492, allocations: 210 MB / 1.206 GB, free: 100.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/3.507, allocations: 5.617 MB / 1.212 GB, free: 98.48 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/3.517, allocations: 3.743 MB / 1.215 GB, free: 95.47 MB / 0.5262 GB Notification: Performance of SimCode: time 1.883e-06/3.517, allocations: 0 / 1.215 GB, free: 95.47 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.498/10.02, allocations: 244.8 MB / 1.454 GB, free: 69.59 MB / 0.5418 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat