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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002068/0.002068, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003078/0.003078, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.92 MB / 357 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003307/0.003307, allocations: 75.89 kB / 0.491 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1452, allocations: 66.04 MB / 0.5555 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01162/0.1568, allocations: 9.559 MB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008388/0.1652, allocations: 3.839 MB / 0.5686 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1671, allocations: 63.75 kB / 0.5686 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00547/0.1725, allocations: 2.788 MB / 0.5713 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.1771, allocations: 1.654 MB / 0.573 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1788, allocations: 0.7056 MB / 0.5736 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005581/0.1844, allocations: 3.899 MB / 0.5775 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003888/0.1883, allocations: 3.05 MB / 0.5804 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1908, allocations: 1.421 MB / 0.5818 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002918/0.1937, allocations: 2.052 MB / 0.5838 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006409/0.1943, allocations: 312 kB / 0.5841 GB, free: 7.988 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.1964, allocations: 1.229 MB / 0.5853 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.1983, allocations: 1.796 MB / 0.5871 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002613/0.2009, allocations: 2.07 MB / 0.5891 GB, free: 2.875 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3072/0.508, allocations: 6.862 MB / 0.5958 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.508, allocations: 2.094 kB / 0.5958 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.508, allocations: 0 / 0.5958 GB, free: 14.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002923/0.5083, allocations: 2.141 kB / 0.5958 GB, free: 14.13 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.01448/0.5228, allocations: 4.577 MB / 0.6003 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5229, allocations: 11.97 kB / 0.6003 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001569/0.5244, allocations: 0.6572 MB / 0.6009 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09014/0.6146, allocations: 7.057 MB / 0.6078 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007505/0.6221, allocations: 2.684 MB / 0.6104 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.6223, allocations: 221.3 kB / 0.6106 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.6235, allocations: 294 kB / 0.6109 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.638, allocations: 8.662 MB / 0.6194 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.6381, allocations: 40.02 kB / 0.6194 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004497/0.6385, allocations: 139.2 kB / 0.6196 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002413/0.641, allocations: 1.664 MB / 0.6212 GB, free: 7.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.6527, allocations: 7.083 MB / 0.6281 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04273/0.6954, allocations: 33.26 MB / 0.6606 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/0.7005, allocations: 2.293 MB / 0.6628 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.7023, allocations: 1.134 MB / 0.6639 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.7027, allocations: 322.1 kB / 0.6642 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.7027, allocations: 46.69 kB / 0.6643 GB, free: 15.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=122): time 3.556e-06/0.7027, allocations: 0 / 0.6643 GB, free: 15.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=140): time 0.02938/0.7321, allocations: 10.68 MB / 0.6747 GB, free: 4.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7323, allocations: 199.8 kB / 0.6749 GB, free: 4.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/0.7387, allocations: 3.599 MB / 0.6784 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002914/0.739, allocations: 41.7 kB / 0.6785 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002483/0.7415, allocations: 2.953 MB / 0.6813 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008072/0.7423, allocations: 0.5683 MB / 0.6819 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002155/0.7445, allocations: 1.082 MB / 0.683 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7446, allocations: 305.1 kB / 0.6832 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/0.7477, allocations: 1.693 MB / 0.6849 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/0.7536, allocations: 5.075 MB / 0.6899 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00978/0.7634, allocations: 7.334 MB / 0.697 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.7635, allocations: 36 kB / 0.6971 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01389/0.7774, allocations: 6.737 MB / 0.7036 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.7775, allocations: 61.14 kB / 0.7037 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/0.7777, allocations: 120 kB / 0.7038 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.7789, allocations: 432.5 kB / 0.7042 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/0.7831, allocations: 1.212 MB / 0.7054 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.7879, allocations: 3.597 MB / 0.7089 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/0.792, allocations: 295.8 kB / 0.7092 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009009/0.7929, allocations: 324 kB / 0.7095 GB, free: 14.21 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.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 (644): * Single equations (assignments): 640 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004299/0.7972, allocations: 1.95 MB / 0.7114 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000843/0.7981, allocations: 325.8 kB / 0.7117 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.8025, allocations: 1.87 MB / 0.7135 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.8026, allocations: 16 kB / 0.7136 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/0.8026, allocations: 7.984 kB / 0.7136 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.8026, allocations: 7.969 kB / 0.7136 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.8161, allocations: 5.754 MB / 0.7192 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.8161, allocations: 0 / 0.7192 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.8173, allocations: 219.1 kB / 0.7194 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/0.818, allocations: 256.6 kB / 0.7197 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.8182, allocations: 31.98 kB / 0.7197 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.8221, allocations: 3.166 MB / 0.7228 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8221, allocations: 0 / 0.7228 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009761/0.8318, allocations: 3.959 MB / 0.7266 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.833, allocations: 366.8 kB / 0.727 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/0.8337, allocations: 23.98 kB / 0.727 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.8352, allocations: 71.98 kB / 0.7271 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.8355, allocations: 96.08 kB / 0.7272 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.8357, allocations: 45.95 kB / 0.7272 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005125/0.8408, allocations: 2.242 MB / 0.7294 GB, free: 9.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8408, allocations: 0 / 0.7294 GB, free: 9.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005954/0.8468, allocations: 0.8163 MB / 0.7302 GB, free: 8.797 MB / 0.545 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008409/0.8552, allocations: 4.593 MB / 0.7347 GB, free: 4.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008483/0.8636, allocations: 3.968 MB / 0.7386 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8637, allocations: 0 / 0.7386 GB, free: 228 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.8659, allocations: 1.104 MB / 0.7396 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/0.8694, allocations: 401.5 kB / 0.74 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07826/0.9477, allocations: 37.9 MB / 0.777 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005271/0.953, allocations: 3.03 MB / 0.78 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004331/0.9573, allocations: 1.716 MB / 0.7817 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002894/0.9602, allocations: 1.659 MB / 0.7833 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/0.9602, allocations: 0 / 0.7833 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.075, allocations: 56.89 MB / 0.8388 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.98/23.05, allocations: 8.672 kB / 0.8389 GB, free: 4.73 MB / 0.6544 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 26.70967298001051]