Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008631/0.0008631, allocations: 87.41 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.391e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5459, allocations: 111.2 MB / 0.62 GB, free: 14.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5462, allocations: 77.94 kB / 0.6201 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2073/0.7535, allocations: 84.49 MB / 0.7026 GB, free: 2.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7536, allocations: 0 / 0.7026 GB, free: 2.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.7538, allocations: 76 kB / 0.7027 GB, free: 2.336 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: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01143/0.7652, allocations: 3.826 MB / 0.7064 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7653, allocations: 15.97 kB / 0.7064 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002895/0.7682, allocations: 0.7376 MB / 0.7072 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/0.7857, allocations: 4.417 MB / 0.7115 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009951/0.7957, allocations: 3.871 MB / 0.7153 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.796, allocations: 316.3 kB / 0.7156 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.7977, allocations: 423.7 kB / 0.716 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.8159, allocations: 9.516 MB / 0.7253 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.8162, allocations: 55.47 kB / 0.7253 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000793/0.817, allocations: 203.9 kB / 0.7255 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001014/0.818, allocations: 0.85 MB / 0.7263 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.8316, allocations: 7.478 MB / 0.7336 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3354/1.167, allocations: 43.2 MB / 0.7758 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004694/1.172, allocations: 2.354 MB / 0.7781 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.173, allocations: 1.146 MB / 0.7793 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/1.174, allocations: 326.1 kB / 0.7796 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.174, allocations: 45.33 kB / 0.7796 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=122): time 4.438e-06/1.174, allocations: 2.719 kB / 0.7796 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=140): time 0.02019/1.194, allocations: 8.663 MB / 0.7881 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/1.194, allocations: 198.7 kB / 0.7883 GB, free: 97.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/1.199, allocations: 3.179 MB / 0.7914 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/1.199, allocations: 46.72 kB / 0.7914 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/1.201, allocations: 2.967 MB / 0.7943 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007454/1.202, allocations: 0.5597 MB / 0.7948 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.202, allocations: 106.3 kB / 0.795 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002477/1.203, allocations: 0.5222 MB / 0.7955 GB, free: 95.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/1.205, allocations: 1.578 MB / 0.797 GB, free: 95.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/1.208, allocations: 4.998 MB / 0.8019 GB, free: 90.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/1.211, allocations: 2.806 MB / 0.8046 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.731e-05/1.212, allocations: 34.47 kB / 0.8047 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01018/1.222, allocations: 6.506 MB / 0.811 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/1.222, allocations: 58.44 kB / 0.8111 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/1.222, allocations: 123.4 kB / 0.8112 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/1.223, allocations: 379.2 kB / 0.8115 GB, free: 90.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/1.226, allocations: 1.243 MB / 0.8128 GB, free: 90.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/1.229, allocations: 2.978 MB / 0.8157 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.234, allocations: 300.4 kB / 0.816 GB, free: 88.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007117/1.234, allocations: 339.6 kB / 0.8163 GB, free: 88.69 MB / 0.5261 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.0007908/1.235, allocations: 0.5174 MB / 0.8168 GB, free: 88.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005961/1.236, allocations: 309.2 kB / 0.8171 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/1.238, allocations: 1.663 MB / 0.8187 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/1.238, allocations: 15.16 kB / 0.8187 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/1.238, allocations: 7.438 kB / 0.8187 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.238, allocations: 3.891 kB / 0.8187 GB, free: 87.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00936/1.248, allocations: 5.623 MB / 0.8242 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.248, allocations: 3.781 kB / 0.8242 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/1.249, allocations: 232.2 kB / 0.8244 GB, free: 85.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/1.249, allocations: 182.5 kB / 0.8246 GB, free: 85.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/1.249, allocations: 22.16 kB / 0.8246 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/1.252, allocations: 2.563 MB / 0.8271 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.252, allocations: 0 / 0.8271 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/1.256, allocations: 3.672 MB / 0.8307 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009764/1.257, allocations: 361 kB / 0.8311 GB, free: 82.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.257, allocations: 22.19 kB / 0.8311 GB, free: 82.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.258, allocations: 83.8 kB / 0.8312 GB, free: 82.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.258, allocations: 99.02 kB / 0.8313 GB, free: 82.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/1.259, allocations: 40.05 kB / 0.8313 GB, free: 82.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003152/1.262, allocations: 2.199 MB / 0.8335 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/1.262, allocations: 0 / 0.8335 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004641/1.266, allocations: 0.8612 MB / 0.8343 GB, free: 81.15 MB / 0.5261 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.004562/1.271, allocations: 4.477 MB / 0.8387 GB, free: 78.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005863/1.277, allocations: 3.889 MB / 0.8425 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.277, allocations: 0 / 0.8425 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.278, allocations: 1.082 MB / 0.8435 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.28, allocations: 374.7 kB / 0.8439 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.297, allocations: 7.886 MB / 0.8516 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.3, allocations: 3.244 MB / 0.8547 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00374/1.304, allocations: 1.728 MB / 0.8564 GB, free: 71.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/1.306, allocations: 1.753 MB / 0.8581 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/1.306, allocations: 4 kB / 0.8582 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/1.432, allocations: 65.42 MB / 0.922 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.433, allocations: 182.7 kB / 0.9222 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.777/5.209, allocations: 2.953 kB / 0.9222 GB, free: 13.55 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat