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.001499/0.001499, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.608/1.608, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0009116/0.0009116, allocations: 90.61 kB / 261.8 MB, free: 1.68 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.2211/0.2211, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.953e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5797, allocations: 109.4 MB / 0.5728 GB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.58, allocations: 78.69 kB / 0.5729 GB, free: 1.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2271/0.8071, allocations: 89.47 MB / 0.6603 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.8071, allocations: 0 / 0.6603 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002148/0.8074, allocations: 91.98 kB / 0.6604 GB, free: 0.5664 MB / 458.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.01335/0.8207, allocations: 4.153 MB / 0.6644 GB, free: 12.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.8208, allocations: 12.03 kB / 0.6644 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.8397, allocations: 4.428 MB / 0.6688 GB, free: 7.895 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.8532, allocations: 4.75 MB / 0.6734 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.8535, allocations: 152 kB / 0.6736 GB, free: 2.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/0.8559, allocations: 275.9 kB / 0.6738 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01335/0.8692, allocations: 6.308 MB / 0.68 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/0.8921, allocations: 9.73 MB / 0.6895 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002525/0.8924, allocations: 59.41 kB / 0.6895 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008936/0.8933, allocations: 32 kB / 0.6896 GB, free: 1.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.8949, allocations: 0.9956 MB / 0.6905 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.347/1.242, allocations: 44.84 MB / 0.7343 GB, free: 93.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/1.245, allocations: 2.702 MB / 0.737 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/1.248, allocations: 1.537 MB / 0.7385 GB, free: 93.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/1.248, allocations: 339.1 kB / 0.7388 GB, free: 92.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.248, allocations: 53.17 kB / 0.7388 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 3.917e-06/1.248, allocations: 0 / 0.7388 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=194): time 0.02082/1.269, allocations: 12.36 MB / 0.7509 GB, free: 89.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/1.269, allocations: 203.8 kB / 0.7511 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/1.273, allocations: 2.987 MB / 0.754 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003098/1.273, allocations: 25.7 kB / 0.7541 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.275, allocations: 3.301 MB / 0.7573 GB, free: 87.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/1.276, allocations: 0.7233 MB / 0.758 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/1.276, allocations: 0 / 0.758 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002996/1.277, allocations: 0.5715 MB / 0.7585 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.279, allocations: 1.932 MB / 0.7604 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/1.283, allocations: 5.788 MB / 0.7661 GB, free: 82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/1.287, allocations: 3.301 MB / 0.7693 GB, free: 81.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.447e-05/1.287, allocations: 42.97 kB / 0.7693 GB, free: 81.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01308/1.3, allocations: 7.041 MB / 0.7762 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/1.3, allocations: 65.56 kB / 0.7763 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/1.301, allocations: 143.3 kB / 0.7764 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008552/1.301, allocations: 393 kB / 0.7768 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/1.307, allocations: 1.5 MB / 0.7783 GB, free: 79.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/1.31, allocations: 2.898 MB / 0.7811 GB, free: 78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/1.315, allocations: 240.2 kB / 0.7813 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.317, allocations: 393.4 kB / 0.7817 GB, free: 77.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (783): * Single equations (assignments): 779 * 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.001061/1.318, allocations: 448.1 kB / 0.7821 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003676/1.322, allocations: 2.774 MB / 0.7848 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/1.322, allocations: 318 kB / 0.7851 GB, free: 76.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/1.326, allocations: 2.496 MB / 0.7876 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.326, allocations: 20.03 kB / 0.7876 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.326, allocations: 3.438 kB / 0.7876 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.326, allocations: 9.047 kB / 0.7876 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.339, allocations: 6.534 MB / 0.794 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/1.339, allocations: 3.5 kB / 0.794 GB, free: 73.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.341, allocations: 350.7 kB / 0.7943 GB, free: 73.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/1.341, allocations: 182.8 kB / 0.7945 GB, free: 73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.341, allocations: 15.58 kB / 0.7945 GB, free: 72.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.343, allocations: 2.443 MB / 0.7969 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.343, allocations: 7.562 kB / 0.7969 GB, free: 71.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/1.349, allocations: 5 MB / 0.8018 GB, free: 69.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.351, allocations: 0.598 MB / 0.8024 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/1.351, allocations: 3.375 kB / 0.8024 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.352, allocations: 93.86 kB / 0.8025 GB, free: 68.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/1.353, allocations: 132 kB / 0.8026 GB, free: 68.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.353, allocations: 56.88 kB / 0.8026 GB, free: 68.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003039/1.356, allocations: 1.985 MB / 0.8046 GB, free: 67.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/1.356, allocations: 0 / 0.8046 GB, free: 67.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005232/1.361, allocations: 0.8488 MB / 0.8054 GB, free: 67.9 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.006298/1.367, allocations: 5.809 MB / 0.8111 GB, free: 64.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006817/1.374, allocations: 4.673 MB / 0.8156 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/1.374, allocations: 0 / 0.8156 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.376, allocations: 1.486 MB / 0.8171 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.378, allocations: 306.1 kB / 0.8174 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/1.398, allocations: 8.951 MB / 0.8261 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.402, allocations: 3.546 MB / 0.8296 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004759/1.406, allocations: 2.005 MB / 0.8316 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002388/1.409, allocations: 1.998 MB / 0.8335 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/1.409, allocations: 0 / 0.8335 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.393/1.802, allocations: 70 MB / 0.9019 GB, free: 106 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.802, allocations: 148.6 kB / 0.902 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/5.629, allocations: 2 kB / 0.902 GB, free: 105.8 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