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.001194/0.001194, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 100.5 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3582/0.3582, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002557, allocations: 11.98 kB / 468.5 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 63.25 MB / 0.5193 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4356, allocations: 111.3 MB / 0.6279 GB, free: 8.117 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.4359, allocations: 83.92 kB / 0.628 GB, free: 8.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4766/0.9125, allocations: 84.42 MB / 0.7104 GB, free: 104 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9126, allocations: 0 / 0.7104 GB, free: 104 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001964/0.9128, allocations: 75.09 kB / 0.7105 GB, free: 104 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.01295/0.9257, allocations: 4.066 MB / 0.7145 GB, free: 102.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.9258, allocations: 9.281 kB / 0.7145 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002719/0.9285, allocations: 0.7462 MB / 0.7152 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.9463, allocations: 4.418 MB / 0.7195 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.9582, allocations: 3.9 MB / 0.7233 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.9586, allocations: 312.4 kB / 0.7236 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/0.9607, allocations: 421 kB / 0.724 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/0.9781, allocations: 9.616 MB / 0.7334 GB, free: 95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.9784, allocations: 63.22 kB / 0.7335 GB, free: 94.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007969/0.9792, allocations: 204.2 kB / 0.7337 GB, free: 94.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009506/0.9802, allocations: 0.8513 MB / 0.7345 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.9934, allocations: 7.665 MB / 0.742 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04344/1.037, allocations: 43.22 MB / 0.7842 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/1.042, allocations: 2.397 MB / 0.7866 GB, free: 52.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/1.042, allocations: 325.6 kB / 0.7869 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.042, allocations: 46.88 kB / 0.7869 GB, free: 52.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 5.04e-06/1.042, allocations: 4 kB / 0.7869 GB, free: 52.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.0257/1.068, allocations: 10.9 MB / 0.7976 GB, free: 41.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/1.068, allocations: 204.5 kB / 0.7978 GB, free: 41.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004557/1.073, allocations: 3.209 MB / 0.8009 GB, free: 37.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.073, allocations: 41.7 kB / 0.8009 GB, free: 37.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/1.074, allocations: 2.974 MB / 0.8038 GB, free: 34.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005957/1.075, allocations: 0.5555 MB / 0.8044 GB, free: 34.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/1.075, allocations: 108 kB / 0.8045 GB, free: 34.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002453/1.075, allocations: 0.5331 MB / 0.805 GB, free: 33.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.078, allocations: 1.685 MB / 0.8066 GB, free: 32.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003544/1.081, allocations: 5.098 MB / 0.8116 GB, free: 25.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/1.085, allocations: 2.878 MB / 0.8144 GB, free: 22.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-05/1.085, allocations: 36 kB / 0.8145 GB, free: 22.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.01149/1.097, allocations: 6.722 MB / 0.821 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/1.097, allocations: 56 kB / 0.8211 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.097, allocations: 124 kB / 0.8212 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007919/1.098, allocations: 373.4 kB / 0.8216 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/1.101, allocations: 1.244 MB / 0.8228 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/1.104, allocations: 3.03 MB / 0.8257 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.109, allocations: 299.5 kB / 0.826 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008453/1.109, allocations: 338.8 kB / 0.8263 GB, free: 10.04 MB / 490.7 MB 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 () * Number of clocked 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.003768/1.113, allocations: 2.033 MB / 0.8283 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006484/1.114, allocations: 315.4 kB / 0.8286 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/1.117, allocations: 1.816 MB / 0.8304 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.117, allocations: 16 kB / 0.8304 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.117, allocations: 4 kB / 0.8304 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.117, allocations: 7.969 kB / 0.8304 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.13, allocations: 5.783 MB / 0.8361 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.13, allocations: 4 kB / 0.8361 GB, free: 0 / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/1.131, allocations: 231.6 kB / 0.8363 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/1.131, allocations: 180.6 kB / 0.8365 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.132, allocations: 23.98 kB / 0.8365 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/1.135, allocations: 2.609 MB / 0.839 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.135, allocations: 0 / 0.839 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/1.141, allocations: 3.92 MB / 0.8429 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.142, allocations: 356.9 kB / 0.8432 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/1.142, allocations: 20 kB / 0.8432 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.143, allocations: 79.92 kB / 0.8433 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/1.144, allocations: 102.7 kB / 0.8434 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.412e-05/1.144, allocations: 39.98 kB / 0.8434 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003749/1.147, allocations: 2.231 MB / 0.8456 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/1.147, allocations: 0 / 0.8456 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004749/1.152, allocations: 0.8555 MB / 0.8465 GB, free: 5.188 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 (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.006339/1.158, allocations: 4.736 MB / 0.8511 GB, free: 412 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007157/1.166, allocations: 4.084 MB / 0.8551 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.166, allocations: 0 / 0.8551 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/1.168, allocations: 1.15 MB / 0.8562 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.17, allocations: 382.7 kB / 0.8566 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3585/1.528, allocations: 112.4 MB / 0.9663 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003952/1.532, allocations: 3.24 MB / 0.9695 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005319/1.538, allocations: 1.73 MB / 0.9712 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/1.54, allocations: 1.758 MB / 0.9729 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/1.54, allocations: 0 / 0.9729 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.658, allocations: 65.11 MB / 1.036 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.658, allocations: 208.5 kB / 1.037 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.355/6.013, allocations: 4.062 kB / 1.037 GB, free: 31.2 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