Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_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.001176/0.001176, allocations: 105.8 kB / 16.4 MB, free: 6.508 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.001342/0.001342, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2354/0.2354, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 77.45 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1214, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01205/0.1335, allocations: 11.23 MB / 0.4984 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008646/0.1422, allocations: 4.066 MB / 0.5023 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.1443, allocations: 59.88 kB / 0.5024 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006253/0.1505, allocations: 2.823 MB / 0.5051 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006786/0.1575, allocations: 1.895 MB / 0.507 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.1598, allocations: 0.7096 MB / 0.5077 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007791/0.1676, allocations: 4.179 MB / 0.5118 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006195/0.1739, allocations: 3.886 MB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.177, allocations: 1.6 MB / 0.5171 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.1807, allocations: 2.239 MB / 0.5193 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001203/0.1819, allocations: 372 kB / 0.5197 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.1848, allocations: 1.248 MB / 0.5209 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.1873, allocations: 2.046 MB / 0.5229 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003973/0.1913, allocations: 2.463 MB / 0.5253 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2826/0.4739, allocations: 8.063 MB / 0.5332 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4739, allocations: 0 / 0.5332 GB, free: 14.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4739, allocations: 0.9375 kB / 0.5332 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002416/0.4742, allocations: 0 / 0.5332 GB, free: 14.91 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01343/0.4876, allocations: 5.103 MB / 0.5382 GB, free: 12.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4877, allocations: 16.73 kB / 0.5382 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/0.4892, allocations: 0.7751 MB / 0.5389 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09202/0.5812, allocations: 7.137 MB / 0.5459 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009336/0.5906, allocations: 3.128 MB / 0.549 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.5909, allocations: 252.2 kB / 0.5492 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.5921, allocations: 337 kB / 0.5495 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.6118, allocations: 10.38 MB / 0.5597 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.612, allocations: 44.33 kB / 0.5597 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004434/0.6124, allocations: 162.9 kB / 0.5599 GB, free: 8.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.6155, allocations: 2.096 MB / 0.5619 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.6293, allocations: 8.606 MB / 0.5703 GB, free: 2.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04852/0.6779, allocations: 38.22 MB / 0.6076 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.6839, allocations: 2.999 MB / 0.6106 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.6863, allocations: 1.683 MB / 0.6122 GB, free: 7.266 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/0.6868, allocations: 334.1 kB / 0.6125 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.6868, allocations: 59.55 kB / 0.6126 GB, free: 6.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.468e-06/0.6868, allocations: 3.75 kB / 0.6126 GB, free: 6.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03167/0.7185, allocations: 13.93 MB / 0.6262 GB, free: 8.789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7187, allocations: 199.5 kB / 0.6264 GB, free: 8.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/0.7238, allocations: 3.861 MB / 0.6301 GB, free: 4.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002956/0.7241, allocations: 49.7 kB / 0.6302 GB, free: 4.656 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002078/0.7262, allocations: 3.21 MB / 0.6333 GB, free: 1.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008075/0.727, allocations: 0.7441 MB / 0.6341 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.7286, allocations: 1.206 MB / 0.6352 GB, free: 15.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7287, allocations: 301.1 kB / 0.6355 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.7321, allocations: 2.151 MB / 0.6376 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00569/0.7378, allocations: 5.83 MB / 0.6433 GB, free: 5.449 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.7483, allocations: 8.634 MB / 0.6517 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/0.7484, allocations: 44 kB / 0.6518 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0152/0.7636, allocations: 7.99 MB / 0.6596 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.7638, allocations: 64 kB / 0.6596 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/0.764, allocations: 128 kB / 0.6598 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.7651, allocations: 436.8 kB / 0.6602 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004723/0.7698, allocations: 1.419 MB / 0.6616 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.7744, allocations: 3.611 MB / 0.6651 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/0.7792, allocations: 339.6 kB / 0.6654 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008096/0.78, allocations: 371.1 kB / 0.6658 GB, free: 13.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (745): * Single equations (assignments): 741 * 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.003901/0.7839, allocations: 2.248 MB / 0.668 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008295/0.7847, allocations: 343.5 kB / 0.6683 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/0.7903, allocations: 2.88 MB / 0.6711 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.262e-05/0.7903, allocations: 20 kB / 0.6711 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7903, allocations: 8 kB / 0.6711 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.7903, allocations: 7.969 kB / 0.6711 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.8083, allocations: 7.767 MB / 0.6787 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.8084, allocations: 0.875 kB / 0.6787 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.8101, allocations: 347.5 kB / 0.6791 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007611/0.8109, allocations: 255.4 kB / 0.6793 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.8111, allocations: 35.97 kB / 0.6793 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.8147, allocations: 3.174 MB / 0.6824 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.8147, allocations: 0.5469 kB / 0.6824 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008395/0.8231, allocations: 5.472 MB / 0.6878 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/0.8251, allocations: 0.6332 MB / 0.6884 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008375/0.826, allocations: 39.92 kB / 0.6884 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.8278, allocations: 115.9 kB / 0.6886 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/0.8283, allocations: 129.1 kB / 0.6887 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.8284, allocations: 51.97 kB / 0.6887 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004839/0.8333, allocations: 2.405 MB / 0.6911 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8333, allocations: 0 / 0.6911 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005347/0.8386, allocations: 1.003 MB / 0.6921 GB, free: 2.164 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 (164): * Single equations (assignments): 160 * 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.009601/0.8483, allocations: 6.115 MB / 0.698 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008955/0.8572, allocations: 5.182 MB / 0.7031 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.8573, allocations: 0 / 0.7031 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.8599, allocations: 1.653 MB / 0.7047 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.8632, allocations: 452.9 kB / 0.7051 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07335/0.9366, allocations: 44.54 MB / 0.7486 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2403/1.177, allocations: 3.455 MB / 0.752 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005339/1.182, allocations: 1.943 MB / 0.7539 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/1.185, allocations: 1.991 MB / 0.7558 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/1.185, allocations: 2.812 kB / 0.7558 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.291, allocations: 67.23 MB / 0.8215 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.96, allocations: 4.062 kB / 0.8215 GB, free: 165.7 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches