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.001484/0.001484, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001371/0.001371, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.4/1.4, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2129/0.2129, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.83 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01063/0.1329, allocations: 9.782 MB / 479.1 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006851/0.1398, allocations: 3.839 MB / 483 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.1411, allocations: 55.88 kB / 483 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004433/0.1456, allocations: 2.788 MB / 485.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.1493, allocations: 1.708 MB / 487.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1508, allocations: 0.7057 MB / 488.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004715/0.1555, allocations: 3.973 MB / 492.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003777/0.1593, allocations: 3.737 MB / 495.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.1613, allocations: 1.449 MB / 497.4 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.1637, allocations: 1.963 MB / 499.4 MB, free: 96 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008088/0.1645, allocations: 328 kB / 499.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.1665, allocations: 1.209 MB / 0.4891 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.168, allocations: 1.835 MB / 0.4909 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002007/0.17, allocations: 2.187 MB / 0.4931 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.1765, allocations: 6.955 MB / 0.4999 GB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1765, allocations: 0 / 0.4999 GB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1765, allocations: 0 / 0.4999 GB, free: 3.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001762/0.1767, allocations: 3.938 kB / 0.4999 GB, free: 3.543 MB / 382.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.1686/0.3453, allocations: 4.631 MB / 0.5044 GB, free: 46.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3453, allocations: 9.312 kB / 0.5044 GB, free: 46.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009684/0.3463, allocations: 0.6936 MB / 0.5051 GB, free: 45.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08459/0.4309, allocations: 7.065 MB / 0.512 GB, free: 45.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005019/0.4359, allocations: 2.795 MB / 0.5147 GB, free: 43.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.4361, allocations: 224 kB / 0.5149 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/0.4365, allocations: 308 kB / 0.5152 GB, free: 43.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00898/0.4455, allocations: 9.232 MB / 0.5242 GB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.749e-05/0.4456, allocations: 37.19 kB / 0.5243 GB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.4459, allocations: 147.9 kB / 0.5244 GB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.448, allocations: 1.845 MB / 0.5262 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008201/0.4562, allocations: 7.548 MB / 0.5336 GB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02412/0.4803, allocations: 34.65 MB / 0.5674 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.4843, allocations: 2.382 MB / 0.5697 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.4856, allocations: 1.212 MB / 0.5709 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/0.4859, allocations: 327.7 kB / 0.5712 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.4859, allocations: 59.05 kB / 0.5713 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 3.006e-06/0.486, allocations: 0 / 0.5713 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.02138/0.5073, allocations: 10.68 MB / 0.5817 GB, free: 8.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.5074, allocations: 192.8 kB / 0.5819 GB, free: 8.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/0.511, allocations: 3.64 MB / 0.5855 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.5111, allocations: 49.64 kB / 0.5855 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.5126, allocations: 2.961 MB / 0.5884 GB, free: 1.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.513, allocations: 0.5517 MB / 0.5889 GB, free: 1.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.514, allocations: 1.09 MB / 0.59 GB, free: 52 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.5141, allocations: 305.1 kB / 0.5903 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.5162, allocations: 1.708 MB / 0.592 GB, free: 14.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/0.5201, allocations: 5.131 MB / 0.597 GB, free: 7.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006481/0.5265, allocations: 7.423 MB / 0.6042 GB, free: 14.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-05/0.5266, allocations: 36 kB / 0.6043 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01167/0.5383, allocations: 6.815 MB / 0.6109 GB, free: 7.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.5385, allocations: 56 kB / 0.611 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.5387, allocations: 124 kB / 0.6111 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5399, allocations: 428.9 kB / 0.6115 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/0.5449, allocations: 1.224 MB / 0.6127 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.5502, allocations: 3.607 MB / 0.6162 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/0.5555, allocations: 291.6 kB / 0.6165 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/0.5566, allocations: 340 kB / 0.6168 GB, free: 1.008 MB / 446.1 MB 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 (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.00437/0.561, allocations: 2.045 MB / 0.6188 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/0.5619, allocations: 304.1 kB / 0.6191 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.5658, allocations: 1.875 MB / 0.6209 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.5659, allocations: 16 kB / 0.621 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.5659, allocations: 4 kB / 0.621 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5659, allocations: 7.969 kB / 0.621 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.5795, allocations: 5.931 MB / 0.6268 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.5796, allocations: 4 kB / 0.6268 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.5807, allocations: 223.7 kB / 0.627 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/0.5815, allocations: 260.5 kB / 0.6272 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.5817, allocations: 23.98 kB / 0.6272 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.5852, allocations: 3.171 MB / 0.6303 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5852, allocations: 0 / 0.6303 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/0.5916, allocations: 3.951 MB / 0.6342 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.5927, allocations: 353 kB / 0.6345 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/0.5934, allocations: 20 kB / 0.6346 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.595, allocations: 72.03 kB / 0.6346 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.5953, allocations: 104.5 kB / 0.6347 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.5954, allocations: 43.97 kB / 0.6348 GB, free: 14.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004453/0.5999, allocations: 2.262 MB / 0.637 GB, free: 12.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5999, allocations: 0 / 0.637 GB, free: 12.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005157/0.605, allocations: 0.8529 MB / 0.6378 GB, free: 11.26 MB / 478.1 MB 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.007296/0.6124, allocations: 4.581 MB / 0.6423 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008482/0.6209, allocations: 4.631 MB / 0.6468 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.6209, allocations: 384 / 0.6468 GB, free: 2.031 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.623, allocations: 1.168 MB / 0.6479 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/0.6264, allocations: 433.3 kB / 0.6484 GB, free: 448 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05919/0.6857, allocations: 42.78 MB / 0.6901 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003871/0.6896, allocations: 3.168 MB / 0.6932 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003794/0.6934, allocations: 1.72 MB / 0.6949 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/0.6955, allocations: 1.757 MB / 0.6966 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of SimCode: time 2.003e-06/0.6955, allocations: 3.938 kB / 0.6966 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5901/1.286, allocations: 60.85 MB / 0.756 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.45, allocations: 5.906 kB / 0.7561 GB, free: 154.9 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches