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.0009328/0.0009328, allocations: 99.03 kB / 17 MB, free: 6.402 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.001161/0.001162, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.444/1.444, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 12.22 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3677/0.5079, allocations: 46.95 MB / 0.5065 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.536, allocations: 10.35 MB / 0.5166 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01296/0.549, allocations: 216.6 kB / 0.5168 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.5596, allocations: 2.483 MB / 0.5192 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02445/0.5841, allocations: 7.306 MB / 0.5263 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.588, allocations: 0.6053 MB / 0.5269 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03842/0.6265, allocations: 32.09 MB / 0.5583 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007072/0.6336, allocations: 4.23 MB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.6366, allocations: 1.118 MB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003556/0.6402, allocations: 1.768 MB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007986/0.641, allocations: 132 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.6434, allocations: 0.9319 MB / 0.5662 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.6451, allocations: 1.585 MB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.6465, allocations: 0.7982 MB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.6537, allocations: 5.553 MB / 0.574 GB, free: 8.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6537, allocations: 4 kB / 0.574 GB, free: 8.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6537, allocations: 0 / 0.574 GB, free: 8.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002258/0.6539, allocations: 3.938 kB / 0.574 GB, free: 8.41 MB / 414.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.009581/0.6635, allocations: 3.875 MB / 0.5778 GB, free: 4.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6636, allocations: 8.031 kB / 0.5778 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/0.6663, allocations: 0.6912 MB / 0.5785 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06834/0.7346, allocations: 7.259 MB / 0.5856 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006207/0.7409, allocations: 2.745 MB / 0.5882 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.7411, allocations: 223.8 kB / 0.5885 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008301/0.7419, allocations: 310.9 kB / 0.5887 GB, free: 10.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/0.7589, allocations: 9.22 MB / 0.5978 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.7591, allocations: 43.64 kB / 0.5978 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.7596, allocations: 149.4 kB / 0.5979 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/0.7627, allocations: 1.836 MB / 0.5997 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.7781, allocations: 7.541 MB / 0.6071 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04047/0.8186, allocations: 34.68 MB / 0.641 GB, free: 3.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.8231, allocations: 2.395 MB / 0.6433 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.8247, allocations: 1.235 MB / 0.6445 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.8251, allocations: 322.5 kB / 0.6448 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.8251, allocations: 47.06 kB / 0.6449 GB, free: 15.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.607e-06/0.8252, allocations: 0 / 0.6449 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02467/0.8498, allocations: 10.96 MB / 0.6556 GB, free: 4.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.85, allocations: 192.6 kB / 0.6557 GB, free: 4.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/0.8558, allocations: 3.616 MB / 0.6593 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002988/0.8561, allocations: 47.97 kB / 0.6593 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002652/0.8588, allocations: 2.952 MB / 0.6622 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007768/0.8596, allocations: 0.5643 MB / 0.6628 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.8598, allocations: 107.9 kB / 0.6629 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003195/0.8601, allocations: 0.5291 MB / 0.6634 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.8628, allocations: 1.716 MB / 0.6651 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.8677, allocations: 5.135 MB / 0.6701 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.872, allocations: 2.91 MB / 0.6729 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.939e-05/0.872, allocations: 32 kB / 0.6729 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01184/0.8839, allocations: 6.81 MB / 0.6796 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.884, allocations: 63.95 kB / 0.6796 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.8842, allocations: 121.2 kB / 0.6798 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/0.8852, allocations: 452 kB / 0.6802 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/0.8889, allocations: 1.24 MB / 0.6814 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.8927, allocations: 3.332 MB / 0.6847 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.8966, allocations: 299.6 kB / 0.6849 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/0.8973, allocations: 340 kB / 0.6853 GB, free: 4.145 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.003602/0.9009, allocations: 2.043 MB / 0.6873 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/0.9016, allocations: 304.1 kB / 0.6876 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.9051, allocations: 1.926 MB / 0.6894 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-05/0.9052, allocations: 16 kB / 0.6895 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.9052, allocations: 4 kB / 0.6895 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9052, allocations: 5.297 kB / 0.6895 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.9159, allocations: 5.984 MB / 0.6953 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.916, allocations: 1.312 kB / 0.6953 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.9171, allocations: 231.7 kB / 0.6955 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.9178, allocations: 246.7 kB / 0.6958 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.918, allocations: 34.47 kB / 0.6958 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.9213, allocations: 2.916 MB / 0.6986 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9214, allocations: 96 / 0.6986 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/0.9274, allocations: 4.014 MB / 0.7026 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.9285, allocations: 364.9 kB / 0.7029 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/0.9288, allocations: 20 kB / 0.7029 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.9299, allocations: 87.97 kB / 0.703 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.9302, allocations: 104.4 kB / 0.7031 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.9303, allocations: 39.98 kB / 0.7032 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.3094/1.24, allocations: 2.248 MB / 0.7053 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/1.24, allocations: 0 / 0.7053 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00692/1.247, allocations: 0.8561 MB / 0.7062 GB, free: 185.9 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.008515/1.255, allocations: 4.628 MB / 0.7107 GB, free: 185 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009085/1.264, allocations: 4.129 MB / 0.7147 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.264, allocations: 3.609 kB / 0.7147 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002474/1.267, allocations: 1.188 MB / 0.7159 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.27, allocations: 404 kB / 0.7163 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/1.319, allocations: 29.29 MB / 0.7449 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.322, allocations: 3.158 MB / 0.748 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004028/1.326, allocations: 1.732 MB / 0.7497 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/1.329, allocations: 1.761 MB / 0.7514 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.743e-06/1.329, allocations: 0 / 0.7514 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0917/1.421, allocations: 65.51 MB / 0.8154 GB, free: 93.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.421, allocations: 226.7 kB / 0.8156 GB, free: 93.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/4.891, allocations: 0 / 0.8156 GB, free: 93.49 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