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.001642/0.001642, allocations: 186.9 kB / 16.41 MB, free: 5.723 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.069/2.069, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001193/0.001192, allocations: 96.36 kB / 270.9 MB, free: 8.387 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.526/0.526, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006373, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1389, allocations: 58.83 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5223/0.6612, allocations: 110.1 MB / 0.5864 GB, free: 8.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.6616, allocations: 79.95 kB / 0.5864 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7536/1.415, allocations: 91.39 MB / 0.6757 GB, free: 88.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.415, allocations: 0 / 0.6757 GB, free: 88.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002888/1.416, allocations: 82.62 kB / 0.6758 GB, free: 88.63 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01978/1.435, allocations: 4.41 MB / 0.6801 GB, free: 86.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.435, allocations: 11 kB / 0.6801 GB, free: 86.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004336/1.44, allocations: 0.8319 MB / 0.6809 GB, free: 86.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/1.474, allocations: 4.433 MB / 0.6852 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.493, allocations: 4.772 MB / 0.6899 GB, free: 85.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/1.494, allocations: 351.3 kB / 0.6902 GB, free: 85.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/1.497, allocations: 463.8 kB / 0.6907 GB, free: 85.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03045/1.527, allocations: 10.69 MB / 0.7011 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/1.528, allocations: 63 kB / 0.7012 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002371/1.53, allocations: 222 kB / 0.7014 GB, free: 83.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/1.532, allocations: 0.9956 MB / 0.7023 GB, free: 83.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/1.558, allocations: 8.655 MB / 0.7108 GB, free: 83.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07212/1.63, allocations: 46.99 MB / 0.7567 GB, free: 49.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009434/1.64, allocations: 3.006 MB / 0.7596 GB, free: 48.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/1.64, allocations: 334.6 kB / 0.7599 GB, free: 48.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/1.64, allocations: 59.73 kB / 0.76 GB, free: 48.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.919e-06/1.64, allocations: 0 / 0.76 GB, free: 48.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.053/1.693, allocations: 13.89 MB / 0.7736 GB, free: 41.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/1.693, allocations: 199.5 kB / 0.7738 GB, free: 41.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007184/1.701, allocations: 3.403 MB / 0.7771 GB, free: 40.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004682/1.701, allocations: 49.17 kB / 0.7771 GB, free: 40.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002459/1.704, allocations: 3.167 MB / 0.7802 GB, free: 37.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.705, allocations: 0.7372 MB / 0.7809 GB, free: 37.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007002/1.705, allocations: 125.2 kB / 0.7811 GB, free: 37.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003797/1.706, allocations: 0.5606 MB / 0.7816 GB, free: 36.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/1.712, allocations: 2.125 MB / 0.7837 GB, free: 36.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008066/1.72, allocations: 5.791 MB / 0.7893 GB, free: 30.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008323/1.728, allocations: 3.429 MB / 0.7927 GB, free: 29.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.728, allocations: 37.41 kB / 0.7927 GB, free: 29.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02161/1.75, allocations: 7.796 MB / 0.8003 GB, free: 26.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.75, allocations: 62.09 kB / 0.8004 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002155/1.75, allocations: 131 kB / 0.8005 GB, free: 26.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/1.752, allocations: 386.4 kB / 0.8009 GB, free: 26.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008995/1.761, allocations: 1.429 MB / 0.8023 GB, free: 25.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005132/1.766, allocations: 3.047 MB / 0.8053 GB, free: 23.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007131/1.773, allocations: 352 kB / 0.8056 GB, free: 23.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/1.774, allocations: 367.7 kB / 0.8059 GB, free: 23.67 MB / 490.7 MB 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 () * Number of clocked 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.005774/1.78, allocations: 2.233 MB / 0.8081 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009097/1.781, allocations: 348.4 kB / 0.8085 GB, free: 22.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/1.79, allocations: 2.817 MB / 0.8112 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/1.79, allocations: 23.94 kB / 0.8112 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.79, allocations: 4 kB / 0.8112 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/1.79, allocations: 7.312 kB / 0.8112 GB, free: 20.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/1.812, allocations: 7.658 MB / 0.8187 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/1.812, allocations: 0 / 0.8187 GB, free: 13.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.815, allocations: 353.2 kB / 0.8191 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008869/1.816, allocations: 185.5 kB / 0.8192 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/1.816, allocations: 34.91 kB / 0.8193 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/1.82, allocations: 2.6 MB / 0.8218 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.82, allocations: 11.92 kB / 0.8218 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.834, allocations: 5.454 MB / 0.8271 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.836, allocations: 0.6238 MB / 0.8278 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009212/1.837, allocations: 32 kB / 0.8278 GB, free: 5.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/1.84, allocations: 115.4 kB / 0.8279 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000558/1.84, allocations: 135.9 kB / 0.828 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/1.841, allocations: 59.17 kB / 0.8281 GB, free: 5.391 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00526/1.846, allocations: 2.368 MB / 0.8304 GB, free: 3.457 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.846, allocations: 0 / 0.8304 GB, free: 3.457 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00686/1.853, allocations: 0.9883 MB / 0.8314 GB, free: 2.469 MB / 490.7 MB 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 () * Number of clocked 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.02072/1.874, allocations: 6.609 MB / 0.8378 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.888, allocations: 5.133 MB / 0.8428 GB, free: 9.199 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.888, allocations: 0 / 0.8428 GB, free: 9.199 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/1.893, allocations: 1.631 MB / 0.8444 GB, free: 7.777 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/1.896, allocations: 392.2 kB / 0.8448 GB, free: 7.445 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4672/2.364, allocations: 123.5 MB / 0.9654 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007527/2.371, allocations: 3.557 MB / 0.9689 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004864/2.376, allocations: 2.057 MB / 0.9709 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.213e-06/2.376, allocations: 0 / 0.9709 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.838/7.214, allocations: 103.4 MB / 1.072 GB, free: 107.1 MB / 0.5261 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