Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.4 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000867/0.0008668, allocations: 91.53 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1947/0.1947, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.101e-05, allocations: 4.156 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5681, allocations: 110.3 MB / 0.6095 GB, free: 10.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5684, allocations: 71.97 kB / 0.6096 GB, free: 10.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2228/0.7912, allocations: 83.85 MB / 0.6915 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7912, allocations: 0 / 0.6915 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002108/0.7915, allocations: 76 kB / 0.6915 GB, free: 6.438 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.0129/0.8044, allocations: 3.806 MB / 0.6952 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.8044, allocations: 8.031 kB / 0.6953 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002698/0.8071, allocations: 0.7492 MB / 0.696 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.8255, allocations: 4.355 MB / 0.7002 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.8388, allocations: 4.378 MB / 0.7045 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.8393, allocations: 312.3 kB / 0.7048 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.8412, allocations: 419.8 kB / 0.7052 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3486/1.19, allocations: 9.506 MB / 0.7145 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004771/1.19, allocations: 57 kB / 0.7146 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00213/1.192, allocations: 201.6 kB / 0.7147 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001663/1.194, allocations: 0.8516 MB / 0.7156 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/1.219, allocations: 7.485 MB / 0.7229 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07248/1.291, allocations: 43.22 MB / 0.7651 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0068/1.298, allocations: 2.339 MB / 0.7674 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/1.3, allocations: 1.153 MB / 0.7685 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/1.301, allocations: 323.4 kB / 0.7688 GB, free: 91.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/1.301, allocations: 50.12 kB / 0.7689 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=122): time 6.191e-06/1.301, allocations: 0 / 0.7689 GB, free: 91.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=140): time 0.02763/1.329, allocations: 8.668 MB / 0.7773 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.329, allocations: 195.1 kB / 0.7775 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/1.335, allocations: 3.18 MB / 0.7806 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/1.335, allocations: 49.2 kB / 0.7807 GB, free: 86.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.337, allocations: 2.97 MB / 0.7836 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006126/1.338, allocations: 0.564 MB / 0.7841 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/1.338, allocations: 103.1 kB / 0.7842 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003234/1.339, allocations: 0.5275 MB / 0.7847 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.342, allocations: 1.578 MB / 0.7863 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/1.347, allocations: 4.995 MB / 0.7911 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/1.352, allocations: 2.802 MB / 0.7939 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-05/1.352, allocations: 33.69 kB / 0.7939 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.009808/1.362, allocations: 6.502 MB / 0.8003 GB, free: 74.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/1.362, allocations: 65.67 kB / 0.8003 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/1.362, allocations: 122 kB / 0.8004 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007324/1.363, allocations: 380.8 kB / 0.8008 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003305/1.366, allocations: 1.234 MB / 0.802 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/1.369, allocations: 2.975 MB / 0.8049 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/1.373, allocations: 300.4 kB / 0.8052 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.373, allocations: 341.7 kB / 0.8055 GB, free: 72.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (655): * Single equations (assignments): 651 * 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.0005434/1.374, allocations: 0.5202 MB / 0.806 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/1.374, allocations: 306.1 kB / 0.8063 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/1.377, allocations: 1.667 MB / 0.808 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.377, allocations: 14.31 kB / 0.808 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.377, allocations: 3.75 kB / 0.808 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.377, allocations: 9.656 kB / 0.808 GB, free: 71.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/1.385, allocations: 5.639 MB / 0.8135 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.385, allocations: 3.594 kB / 0.8135 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.386, allocations: 225.7 kB / 0.8137 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/1.387, allocations: 177.9 kB / 0.8139 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.2e-05/1.387, allocations: 23.03 kB / 0.8139 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.389, allocations: 2.546 MB / 0.8164 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.389, allocations: 7.828 kB / 0.8164 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004486/1.394, allocations: 3.674 MB / 0.82 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.395, allocations: 351.8 kB / 0.8203 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002864/1.395, allocations: 28.83 kB / 0.8203 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.396, allocations: 74.84 kB / 0.8204 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.397, allocations: 102.8 kB / 0.8205 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/1.397, allocations: 45.92 kB / 0.8206 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00351/1.4, allocations: 2.2 MB / 0.8227 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/1.4, allocations: 0 / 0.8227 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00576/1.406, allocations: 0.8639 MB / 0.8235 GB, free: 64.31 MB / 0.5105 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 (107): * Single equations (assignments): 103 * 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.004769/1.411, allocations: 4.483 MB / 0.8279 GB, free: 60.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005897/1.417, allocations: 3.881 MB / 0.8317 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.417, allocations: 0 / 0.8317 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.418, allocations: 1.077 MB / 0.8328 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.42, allocations: 381.5 kB / 0.8331 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.442, allocations: 7.882 MB / 0.8408 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/1.445, allocations: 3.246 MB / 0.844 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00407/1.449, allocations: 1.733 MB / 0.8457 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/1.451, allocations: 1.754 MB / 0.8474 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/1.451, allocations: 3 kB / 0.8474 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/1.88, allocations: 65.42 MB / 0.9113 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.88, allocations: 176.4 kB / 0.9115 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/6.247, allocations: 0 / 0.9115 GB, free: 110.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat