Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_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.001567/0.001567, allocations: 186.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009263/0.000926, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.1854/0.1854, allocations: 43.55 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5271, allocations: 110.1 MB / 0.5864 GB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5275, allocations: 76.22 kB / 0.5865 GB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2325/0.76, allocations: 91.37 MB / 0.6757 GB, free: 2.227 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.76, allocations: 0 / 0.6757 GB, free: 2.227 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002238/0.7603, allocations: 84 kB / 0.6758 GB, free: 2.145 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.01462/0.7749, allocations: 4.406 MB / 0.6801 GB, free: 13.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.775, allocations: 8.031 kB / 0.6801 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003238/0.7782, allocations: 0.8322 MB / 0.6809 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/0.7964, allocations: 4.432 MB / 0.6852 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.8103, allocations: 4.765 MB / 0.6899 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.8107, allocations: 353.1 kB / 0.6902 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.8129, allocations: 471.7 kB / 0.6907 GB, free: 2.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02347/0.8363, allocations: 10.7 MB / 0.7011 GB, free: 7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003604/0.8368, allocations: 59.45 kB / 0.7012 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001982/0.8388, allocations: 223.9 kB / 0.7014 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/0.8403, allocations: 0.9838 MB / 0.7024 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2243/1.065, allocations: 8.672 MB / 0.7108 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04709/1.112, allocations: 46.98 MB / 0.7567 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/1.117, allocations: 3.006 MB / 0.7596 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/1.117, allocations: 345.7 kB / 0.76 GB, free: 85.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.117, allocations: 53.25 kB / 0.76 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 4.739e-06/1.117, allocations: 3.5 kB / 0.76 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.02711/1.144, allocations: 13.9 MB / 0.7736 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/1.144, allocations: 199.8 kB / 0.7738 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/1.149, allocations: 3.397 MB / 0.7771 GB, free: 79.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.149, allocations: 52.08 kB / 0.7772 GB, free: 79.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.151, allocations: 3.237 MB / 0.7803 GB, free: 77.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/1.152, allocations: 0.7365 MB / 0.781 GB, free: 76.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/1.152, allocations: 120.3 kB / 0.7811 GB, free: 76.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003175/1.152, allocations: 0.5533 MB / 0.7817 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/1.156, allocations: 2.124 MB / 0.7838 GB, free: 75.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004407/1.16, allocations: 5.798 MB / 0.7894 GB, free: 70.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/1.165, allocations: 3.418 MB / 0.7928 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.165, allocations: 35.47 kB / 0.7928 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01213/1.177, allocations: 7.911 MB / 0.8005 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.177, allocations: 61.64 kB / 0.8006 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/1.177, allocations: 130.6 kB / 0.8007 GB, free: 66.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008063/1.178, allocations: 388.8 kB / 0.8011 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004534/1.183, allocations: 1.424 MB / 0.8025 GB, free: 65.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/1.186, allocations: 3.058 MB / 0.8055 GB, free: 63.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/1.19, allocations: 347.6 kB / 0.8058 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009495/1.191, allocations: 372.7 kB / 0.8061 GB, free: 63.68 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 () * 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.004269/1.195, allocations: 2.234 MB / 0.8083 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/1.196, allocations: 350.4 kB / 0.8087 GB, free: 62.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/1.201, allocations: 2.814 MB / 0.8114 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.201, allocations: 21.38 kB / 0.8114 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/1.201, allocations: 3.625 kB / 0.8114 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/1.201, allocations: 6.75 kB / 0.8114 GB, free: 61.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.215, allocations: 7.655 MB / 0.8189 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.215, allocations: 0 / 0.8189 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.217, allocations: 354 kB / 0.8192 GB, free: 58.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/1.217, allocations: 179.3 kB / 0.8194 GB, free: 58.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/1.217, allocations: 36.34 kB / 0.8195 GB, free: 58.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002301/1.22, allocations: 2.604 MB / 0.822 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.22, allocations: 0 / 0.822 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/1.226, allocations: 5.463 MB / 0.8273 GB, free: 52.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.228, allocations: 0.626 MB / 0.8279 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005866/1.228, allocations: 28 kB / 0.828 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.23, allocations: 124.8 kB / 0.8281 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/1.23, allocations: 126.4 kB / 0.8282 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.231, allocations: 59.78 kB / 0.8283 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003815/1.234, allocations: 2.369 MB / 0.8306 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 0 / 0.8306 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005108/1.24, allocations: 0.9948 MB / 0.8316 GB, free: 48.46 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 () * 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.007387/1.247, allocations: 6.283 MB / 0.8377 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00789/1.255, allocations: 5.122 MB / 0.8427 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.255, allocations: 0 / 0.8427 GB, free: 38.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/1.257, allocations: 1.63 MB / 0.8443 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.26, allocations: 394.4 kB / 0.8447 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2906/1.55, allocations: 122.9 MB / 0.9647 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/1.555, allocations: 3.55 MB / 0.9682 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004968/1.56, allocations: 1.939 MB / 0.9701 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00279/1.563, allocations: 2.01 MB / 0.972 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/1.563, allocations: 1.594 kB / 0.972 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09981/1.663, allocations: 74.72 MB / 1.045 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001229/1.663, allocations: 205 kB / 1.045 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/5.998, allocations: 0 / 1.045 GB, free: 31.86 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat