Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.001634/0.001639, allocations: 180.9 kB / 13.66 MB, free: 1.66 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.059/2.059, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001104/0.001103, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2815/0.2815, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.476e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5359/0.6545, allocations: 110 MB / 0.5803 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6549, allocations: 82.55 kB / 0.5804 GB, free: 9.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3821/1.037, allocations: 91.45 MB / 0.6697 GB, free: 6.078 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.037, allocations: 0 / 0.6697 GB, free: 6.078 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000297/1.037, allocations: 92.11 kB / 0.6698 GB, free: 5.988 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.0172/1.055, allocations: 4.156 MB / 0.6739 GB, free: 1.766 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.055, allocations: 12.03 kB / 0.6739 GB, free: 1.754 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003844/1.059, allocations: 0.8283 MB / 0.6747 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03423/1.093, allocations: 4.428 MB / 0.679 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/1.113, allocations: 4.746 MB / 0.6837 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005702/1.113, allocations: 353.2 kB / 0.684 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002738/1.116, allocations: 463.8 kB / 0.6844 GB, free: 6.859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/1.149, allocations: 10.57 MB / 0.6948 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/1.149, allocations: 67.41 kB / 0.6948 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002002/1.151, allocations: 219.9 kB / 0.695 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002602/1.154, allocations: 0.9917 MB / 0.696 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02692/1.181, allocations: 8.451 MB / 0.7043 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4217/1.603, allocations: 46.97 MB / 0.7501 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/1.612, allocations: 2.93 MB / 0.753 GB, free: 84.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.616, allocations: 1.588 MB / 0.7545 GB, free: 84.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006067/1.616, allocations: 345.3 kB / 0.7549 GB, free: 83.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.616, allocations: 56.8 kB / 0.7549 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 6.161e-06/1.616, allocations: 0 / 0.7549 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.03736/1.654, allocations: 11.28 MB / 0.7659 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/1.654, allocations: 203.5 kB / 0.7661 GB, free: 80.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007267/1.661, allocations: 3.369 MB / 0.7694 GB, free: 80.37 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005174/1.662, allocations: 57.05 kB / 0.7695 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002719/1.665, allocations: 3.162 MB / 0.7726 GB, free: 78.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.666, allocations: 0.7388 MB / 0.7733 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/1.667, allocations: 123.6 kB / 0.7734 GB, free: 77.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003794/1.667, allocations: 0.557 MB / 0.774 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.672, allocations: 1.998 MB / 0.7759 GB, free: 76.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007609/1.68, allocations: 5.67 MB / 0.7814 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/1.687, allocations: 3.328 MB / 0.7847 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-05/1.687, allocations: 37.28 kB / 0.7847 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02038/1.707, allocations: 7.55 MB / 0.7921 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.708, allocations: 61.86 kB / 0.7922 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001875/1.708, allocations: 129.4 kB / 0.7923 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.709, allocations: 385 kB / 0.7926 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009051/1.718, allocations: 1.432 MB / 0.794 GB, free: 67.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004865/1.723, allocations: 2.993 MB / 0.797 GB, free: 65.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006936/1.73, allocations: 346.7 kB / 0.7973 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.732, allocations: 375.6 kB / 0.7977 GB, free: 65.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (747): * Single equations (assignments): 743 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001696/1.733, allocations: 0.5658 MB / 0.7982 GB, free: 64.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/1.734, allocations: 342.4 kB / 0.7985 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007171/1.741, allocations: 2.623 MB / 0.8011 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-05/1.742, allocations: 21.22 kB / 0.8011 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/1.742, allocations: 3.438 kB / 0.8011 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.185e-05/1.742, allocations: 10.5 kB / 0.8011 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/1.764, allocations: 7.448 MB / 0.8084 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.764, allocations: 3.969 kB / 0.8084 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/1.767, allocations: 351.9 kB / 0.8087 GB, free: 60.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009193/1.768, allocations: 185.5 kB / 0.8089 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.769, allocations: 34.58 kB / 0.809 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/1.773, allocations: 2.559 MB / 0.8115 GB, free: 58.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.773, allocations: 3.562 kB / 0.8115 GB, free: 58.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.784, allocations: 5.154 MB / 0.8165 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.787, allocations: 0.6264 MB / 0.8171 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/1.788, allocations: 30.11 kB / 0.8171 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/1.792, allocations: 123 kB / 0.8172 GB, free: 56.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/1.792, allocations: 128.4 kB / 0.8174 GB, free: 56.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.793, allocations: 56.42 kB / 0.8174 GB, free: 56.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005846/1.798, allocations: 2.333 MB / 0.8197 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.81e-07/1.799, allocations: 0 / 0.8197 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007157/1.806, allocations: 0.9967 MB / 0.8207 GB, free: 55.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01194/1.818, allocations: 5.982 MB / 0.8265 GB, free: 49.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.829, allocations: 4.885 MB / 0.8313 GB, free: 45.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.829, allocations: 0 / 0.8313 GB, free: 45.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.833, allocations: 1.528 MB / 0.8328 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.836, allocations: 389.4 kB / 0.8332 GB, free: 43.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0314/1.867, allocations: 9.688 MB / 0.8426 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007779/1.875, allocations: 3.55 MB / 0.8461 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005198/1.88, allocations: 2.059 MB / 0.8481 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/1.881, allocations: 0 / 0.8481 GB, free: 30.64 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.71/6.591, allocations: 103.5 MB / 0.9492 GB, free: 104.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat