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.001177/0.001177, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001242/0.001242, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.437/1.437, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2461/0.2461, allocations: 43.52 MB / 314.1 MB, free: 468 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.001554/0.001554, allocations: 72.23 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1178, 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.01219/0.13, allocations: 11.23 MB / 0.4984 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.1385, allocations: 4.046 MB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.1409, allocations: 59.88 kB / 0.5024 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005304/0.1462, allocations: 2.835 MB / 0.5051 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.1514, allocations: 1.891 MB / 0.507 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.1537, allocations: 0.7095 MB / 0.5077 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006533/0.1603, allocations: 4.179 MB / 0.5118 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005231/0.1656, allocations: 3.898 MB / 0.5156 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.1689, allocations: 1.592 MB / 0.5171 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.1723, allocations: 2.239 MB / 0.5193 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.1736, allocations: 376 kB / 0.5197 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.1764, allocations: 1.233 MB / 0.5209 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002963/0.1794, allocations: 2.057 MB / 0.5229 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004494/0.1839, allocations: 2.466 MB / 0.5253 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2737/0.4576, allocations: 8.06 MB / 0.5332 GB, free: 14.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.4577, allocations: 2.75 kB / 0.5332 GB, free: 14.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4577, allocations: 0 / 0.5332 GB, free: 14.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.458, allocations: 0.5625 kB / 0.5332 GB, free: 14.96 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.01635/0.4744, allocations: 5.098 MB / 0.5381 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4745, allocations: 18 kB / 0.5382 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002315/0.4768, allocations: 0.7769 MB / 0.5389 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07845/0.5553, allocations: 7.135 MB / 0.5459 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/0.5638, allocations: 3.127 MB / 0.5489 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.5641, allocations: 258.2 kB / 0.5492 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00114/0.5652, allocations: 338.8 kB / 0.5495 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.5811, allocations: 10.38 MB / 0.5596 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.5813, allocations: 48.53 kB / 0.5597 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.5817, allocations: 158.9 kB / 0.5598 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/0.5844, allocations: 2.092 MB / 0.5619 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.597, allocations: 8.607 MB / 0.5703 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04537/0.6424, allocations: 38.22 MB / 0.6076 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005861/0.6483, allocations: 3.011 MB / 0.6106 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/0.6508, allocations: 1.682 MB / 0.6122 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/0.6512, allocations: 337.2 kB / 0.6125 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.6513, allocations: 59.41 kB / 0.6126 GB, free: 6.914 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.389e-06/0.6513, allocations: 0 / 0.6126 GB, free: 6.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03106/0.6823, allocations: 13.93 MB / 0.6262 GB, free: 8.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.6825, allocations: 205.1 kB / 0.6264 GB, free: 8.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.6875, allocations: 3.845 MB / 0.6301 GB, free: 4.824 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003806/0.6879, allocations: 61.7 kB / 0.6302 GB, free: 4.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.6899, allocations: 3.215 MB / 0.6333 GB, free: 1.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009081/0.6908, allocations: 0.7365 MB / 0.6341 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.6924, allocations: 1.21 MB / 0.6352 GB, free: 15.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.6925, allocations: 301.1 kB / 0.6355 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.6956, allocations: 2.155 MB / 0.6376 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/0.701, allocations: 5.828 MB / 0.6433 GB, free: 5.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009465/0.7105, allocations: 8.633 MB / 0.6517 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.633e-05/0.7106, allocations: 37.64 kB / 0.6518 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01353/0.7241, allocations: 7.987 MB / 0.6596 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.7242, allocations: 60.78 kB / 0.6596 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/0.7244, allocations: 128 kB / 0.6598 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/0.7253, allocations: 448.6 kB / 0.6602 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/0.7296, allocations: 1.408 MB / 0.6616 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.7337, allocations: 3.621 MB / 0.6651 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/0.7388, allocations: 343.6 kB / 0.6654 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007901/0.7396, allocations: 368 kB / 0.6658 GB, free: 13.34 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.004305/0.7439, allocations: 2.24 MB / 0.668 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008655/0.7448, allocations: 343.5 kB / 0.6683 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.7501, allocations: 2.882 MB / 0.6711 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.7502, allocations: 20 kB / 0.6711 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.7502, allocations: 4 kB / 0.6711 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-05/0.7502, allocations: 19.95 kB / 0.6711 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.7649, allocations: 7.77 MB / 0.6787 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.765, allocations: 6.953 kB / 0.6787 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.7667, allocations: 339.5 kB / 0.6791 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007084/0.7674, allocations: 258.2 kB / 0.6793 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.7675, allocations: 35.98 kB / 0.6793 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/0.7707, allocations: 3.159 MB / 0.6824 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.7708, allocations: 8.094 kB / 0.6824 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00759/0.7783, allocations: 5.471 MB / 0.6878 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.7797, allocations: 0.6293 MB / 0.6884 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/0.7801, allocations: 42.36 kB / 0.6884 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.7815, allocations: 111.9 kB / 0.6885 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.7819, allocations: 129.1 kB / 0.6887 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/0.782, allocations: 51.98 kB / 0.6887 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003208/0.7852, allocations: 2.405 MB / 0.6911 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.112e-06/0.7852, allocations: 0 / 0.6911 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004602/0.7898, allocations: 0.9999 MB / 0.692 GB, free: 2.234 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.008151/0.798, allocations: 6.127 MB / 0.698 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008946/0.807, allocations: 5.175 MB / 0.7031 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.807, allocations: 4 kB / 0.7031 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.8096, allocations: 1.654 MB / 0.7047 GB, free: 5.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/0.813, allocations: 445.3 kB / 0.7051 GB, free: 4.824 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06938/0.8824, allocations: 44.55 MB / 0.7486 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2258/1.108, allocations: 3.457 MB / 0.752 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005537/1.114, allocations: 1.945 MB / 0.7539 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/1.117, allocations: 1.988 MB / 0.7558 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/1.117, allocations: 0 / 0.7558 GB, free: 212.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/1.224, allocations: 67.23 MB / 0.8215 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/18.85, allocations: 4 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