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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 97.67 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 241.8 MB, free: 14.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.286/0.286, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 13.08 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 61.91 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.04682/0.1818, allocations: 44.42 MB / 0.5039 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3473/0.5292, allocations: 10.78 MB / 0.5144 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/0.5481, allocations: 213.5 kB / 0.5146 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.5596, allocations: 2.237 MB / 0.5168 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0262/0.5859, allocations: 6.44 MB / 0.5231 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.5899, allocations: 0.5996 MB / 0.5237 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03769/0.6276, allocations: 24.78 MB / 0.5478 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009214/0.6369, allocations: 4.203 MB / 0.552 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.6397, allocations: 0.9135 MB / 0.5528 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.642, allocations: 1.218 MB / 0.554 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005672/0.6426, allocations: 136 kB / 0.5542 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.6448, allocations: 0.9113 MB / 0.5551 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.6465, allocations: 1.47 MB / 0.5565 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.6475, allocations: 0.7925 MB / 0.5573 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.6542, allocations: 5.554 MB / 0.5627 GB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6543, allocations: 0 / 0.5627 GB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.6543, allocations: 0 / 0.5627 GB, free: 3.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002004/0.6545, allocations: 3.938 kB / 0.5627 GB, free: 3.199 MB / 398.1 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.009782/0.6643, allocations: 3.917 MB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.6643, allocations: 12.03 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001834/0.6662, allocations: 0.6908 MB / 0.5672 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.084/0.7502, allocations: 8.339 MB / 0.5753 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00816/0.7584, allocations: 2.547 MB / 0.5778 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.7587, allocations: 231.7 kB / 0.5781 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.7604, allocations: 298.8 kB / 0.5783 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.78, allocations: 9.253 MB / 0.5874 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.7801, allocations: 47.58 kB / 0.5874 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004176/0.7806, allocations: 142.4 kB / 0.5876 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/0.7836, allocations: 1.84 MB / 0.5894 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.7995, allocations: 7.596 MB / 0.5968 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05623/0.8558, allocations: 34.74 MB / 0.6307 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.8607, allocations: 2.414 MB / 0.6331 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/0.8611, allocations: 324.6 kB / 0.6334 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.8612, allocations: 47.12 kB / 0.6334 GB, free: 10.41 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 4.168e-06/0.8612, allocations: 0 / 0.6334 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02961/0.8908, allocations: 11.21 MB / 0.6444 GB, free: 15.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.891, allocations: 196.5 kB / 0.6445 GB, free: 14.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006114/0.8971, allocations: 3.748 MB / 0.6482 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003303/0.8975, allocations: 44.2 kB / 0.6482 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00274/0.9002, allocations: 2.962 MB / 0.6511 GB, free: 8.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009327/0.9012, allocations: 0.5506 MB / 0.6517 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.9014, allocations: 108 kB / 0.6518 GB, free: 7.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004107/0.9018, allocations: 0.5291 MB / 0.6523 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/0.9049, allocations: 1.716 MB / 0.654 GB, free: 5.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005687/0.9106, allocations: 5.119 MB / 0.659 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005145/0.9157, allocations: 2.898 MB / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.301e-05/0.9158, allocations: 36 kB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01473/0.9306, allocations: 6.818 MB / 0.6685 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.9307, allocations: 56 kB / 0.6685 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/0.9309, allocations: 124.1 kB / 0.6687 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.9321, allocations: 448.5 kB / 0.6691 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.9362, allocations: 1.24 MB / 0.6703 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.9404, allocations: 3.387 MB / 0.6736 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/0.9454, allocations: 307.7 kB / 0.6739 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00086/0.9462, allocations: 342.4 kB / 0.6742 GB, free: 14.54 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (653): * Single equations (assignments): 649 * 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.004236/0.9505, allocations: 2.029 MB / 0.6762 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000754/0.9512, allocations: 316 kB / 0.6765 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.9549, allocations: 1.926 MB / 0.6784 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.955, allocations: 20.05 kB / 0.6784 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.955, allocations: 3.938 kB / 0.6784 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.955, allocations: 9.406 kB / 0.6784 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.9676, allocations: 5.977 MB / 0.6843 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/0.9676, allocations: 0 / 0.6843 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.9687, allocations: 237.2 kB / 0.6845 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007668/0.9695, allocations: 252.6 kB / 0.6847 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.9696, allocations: 30.64 kB / 0.6848 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.9734, allocations: 2.972 MB / 0.6877 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9734, allocations: 4.031 kB / 0.6877 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/0.9805, allocations: 4.079 MB / 0.6916 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.9825, allocations: 370.5 kB / 0.692 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/0.9828, allocations: 24 kB / 0.692 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.984, allocations: 91.97 kB / 0.6921 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.9843, allocations: 88.52 kB / 0.6922 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.9844, allocations: 46.94 kB / 0.6922 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00409/0.9885, allocations: 2.344 MB / 0.6945 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9885, allocations: 0 / 0.6945 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005629/0.9942, allocations: 0.8711 MB / 0.6954 GB, free: 8.637 MB / 0.5294 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.006816/1.001, allocations: 4.91 MB / 0.7002 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.3362/1.337, allocations: 4.121 MB / 0.7042 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.337, allocations: 0.9688 kB / 0.7042 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.34, allocations: 1.196 MB / 0.7054 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/1.342, allocations: 378.1 kB / 0.7057 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08303/1.425, allocations: 112.7 MB / 0.8158 GB, free: 86.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/1.428, allocations: 3.242 MB / 0.8189 GB, free: 84.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004362/1.433, allocations: 1.733 MB / 0.8206 GB, free: 84.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/1.435, allocations: 1.763 MB / 0.8224 GB, free: 83 MB / 0.5294 GB Notification: Performance of SimCode: time 2.455e-06/1.435, allocations: 0 / 0.8224 GB, free: 83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.552, allocations: 66.23 MB / 0.887 GB, free: 17.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/1.552, allocations: 219.5 kB / 0.8872 GB, free: 17.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/5.12, allocations: 0 / 0.8872 GB, free: 17.48 MB / 0.5294 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