Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.00142, allocations: 176.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007815/0.0007817, allocations: 93.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3429/0.3429, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1103, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2471/0.3574, allocations: 48.25 MB / 0.5265 GB, free: 16.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02164/0.3791, allocations: 10.57 MB / 0.5369 GB, free: 8.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009208/0.3884, allocations: 217.1 kB / 0.5371 GB, free: 8.887 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007466/0.3959, allocations: 2.514 MB / 0.5395 GB, free: 8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01998/0.4159, allocations: 7.473 MB / 0.5468 GB, free: 4.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004131/0.4201, allocations: 0.6563 MB / 0.5475 GB, free: 4.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02675/0.4468, allocations: 19 MB / 0.566 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008098/0.455, allocations: 4.888 MB / 0.5708 GB, free: 8.496 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.4581, allocations: 1.249 MB / 0.572 GB, free: 7.242 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.4615, allocations: 2.048 MB / 0.574 GB, free: 5.188 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000985/0.4625, allocations: 160 kB / 0.5742 GB, free: 5.031 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.4653, allocations: 1.08 MB / 0.5752 GB, free: 3.949 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002408/0.4677, allocations: 1.773 MB / 0.5769 GB, free: 2.172 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003368/0.4711, allocations: 2.068 MB / 0.579 GB, free: 88 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006798/0.4779, allocations: 6.219 MB / 0.585 GB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.478, allocations: 0 / 0.585 GB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.478, allocations: 0 / 0.585 GB, free: 9.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002791/0.4783, allocations: 0 / 0.585 GB, free: 9.852 MB / 410.7 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.01086/0.4891, allocations: 4.183 MB / 0.5891 GB, free: 5.602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4892, allocations: 8.031 kB / 0.5891 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002258/0.4915, allocations: 0.7738 MB / 0.5899 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08311/0.5746, allocations: 7.325 MB / 0.597 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/0.5813, allocations: 3.105 MB / 0.6001 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.5816, allocations: 254.3 kB / 0.6003 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.5828, allocations: 335.7 kB / 0.6006 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.6012, allocations: 10.37 MB / 0.6108 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/0.6015, allocations: 51.59 kB / 0.6108 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/0.6026, allocations: 159.8 kB / 0.611 GB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003576/0.6062, allocations: 2.092 MB / 0.613 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.6223, allocations: 8.596 MB / 0.6214 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04793/0.6703, allocations: 38.48 MB / 0.659 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/0.6761, allocations: 3.001 MB / 0.6619 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/0.6787, allocations: 1.686 MB / 0.6636 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.6791, allocations: 336.4 kB / 0.6639 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.6792, allocations: 55.48 kB / 0.6639 GB, free: 6.887 MB / 490.7 MB Notification: Performance of pre-optimization done (n=176): time 4.559e-06/0.6792, allocations: 336 / 0.6639 GB, free: 6.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=194): time 0.2279/0.9071, allocations: 14.18 MB / 0.6778 GB, free: 135.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.9072, allocations: 208.2 kB / 0.678 GB, free: 135.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/0.9121, allocations: 3.831 MB / 0.6817 GB, free: 135.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002385/0.9123, allocations: 51.23 kB / 0.6818 GB, free: 135.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.9137, allocations: 3.207 MB / 0.6849 GB, free: 132.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005583/0.9143, allocations: 0.7433 MB / 0.6856 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.9145, allocations: 120.2 kB / 0.6857 GB, free: 132 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.9147, allocations: 0.5614 MB / 0.6863 GB, free: 131.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/0.9177, allocations: 2.149 MB / 0.6884 GB, free: 130.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/0.9227, allocations: 5.837 MB / 0.6941 GB, free: 125.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007457/0.9302, allocations: 8.647 MB / 0.7025 GB, free: 118.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.066e-05/0.9303, allocations: 36.97 kB / 0.7026 GB, free: 118.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.0115/0.9418, allocations: 7.997 MB / 0.7104 GB, free: 115.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.9419, allocations: 58.62 kB / 0.7104 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.942, allocations: 130.8 kB / 0.7105 GB, free: 115.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/0.9429, allocations: 443 kB / 0.711 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.9471, allocations: 1.433 MB / 0.7124 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.9506, allocations: 3.349 MB / 0.7156 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/0.955, allocations: 359.6 kB / 0.716 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007988/0.9558, allocations: 371.5 kB / 0.7163 GB, free: 112.6 MB / 490.7 MB 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 (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.003775/0.9596, allocations: 2.233 MB / 0.7185 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007324/0.9603, allocations: 340.8 kB / 0.7188 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/0.9653, allocations: 2.927 MB / 0.7217 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.9654, allocations: 24.22 kB / 0.7217 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.9654, allocations: 3.25 kB / 0.7217 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.9655, allocations: 15.42 kB / 0.7217 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.9795, allocations: 7.825 MB / 0.7294 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.9796, allocations: 1.469 kB / 0.7294 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.9812, allocations: 354.2 kB / 0.7297 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007411/0.982, allocations: 256.6 kB / 0.73 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.9821, allocations: 39.14 kB / 0.73 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.985, allocations: 2.927 MB / 0.7329 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9851, allocations: 3.906 kB / 0.7329 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007604/0.9927, allocations: 5.525 MB / 0.7383 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.9942, allocations: 0.6371 MB / 0.7389 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/0.9947, allocations: 39.77 kB / 0.7389 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.9961, allocations: 121 kB / 0.739 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004199/0.9965, allocations: 131.7 kB / 0.7392 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.9967, allocations: 56.33 kB / 0.7392 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002939/0.9996, allocations: 2.382 MB / 0.7415 GB, free: 101.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9996, allocations: 0 / 0.7415 GB, free: 101.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004479/1.004, allocations: 1.001 MB / 0.7425 GB, free: 100.2 MB / 490.7 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 (164): * Single equations (assignments): 160 * 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.006803/1.011, allocations: 6.184 MB / 0.7486 GB, free: 94.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006873/1.018, allocations: 5.166 MB / 0.7536 GB, free: 90.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.018, allocations: 0 / 0.7536 GB, free: 90.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.02, allocations: 1.673 MB / 0.7552 GB, free: 88.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.022, allocations: 419 kB / 0.7556 GB, free: 88.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04456/1.067, allocations: 34.58 MB / 0.7894 GB, free: 50.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002791/1.07, allocations: 3.46 MB / 0.7928 GB, free: 47.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/1.072, allocations: 2.042 MB / 0.7948 GB, free: 45.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.804e-06/1.072, allocations: 0 / 0.7948 GB, free: 45.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.945/8.017, allocations: 95.71 MB / 0.8883 GB, free: 137 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches