Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007382/0.0007382, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007494/0.0007494, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8968/0.8968, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2336/0.2336, allocations: 34.24 MB / 294.9 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12e-05/1.25e-05, allocations: 6.219 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1756/0.1756, allocations: 8.42 MB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00477/0.1804, allocations: 3.641 MB / 454.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.1813, allocations: 61.5 kB / 454.3 MB, free: 37.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.1835, allocations: 2.822 MB / 457.1 MB, free: 36.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.1858, allocations: 1.709 MB / 458.8 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009212/0.1868, allocations: 0.7712 MB / 459.6 MB, free: 35.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002722/0.1895, allocations: 4.276 MB / 463.9 MB, free: 33.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.1914, allocations: 3.026 MB / 466.9 MB, free: 32.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.1931, allocations: 2.144 MB / 469.1 MB, free: 31.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.1946, allocations: 2.021 MB / 471.1 MB, free: 30.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.1949, allocations: 322.1 kB / 471.4 MB, free: 30.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.196, allocations: 1.144 MB / 472.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008089/0.1968, allocations: 1.86 MB / 474.4 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.1976, allocations: 1.226 MB / 475.6 MB, free: 29.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006195/0.2038, allocations: 6.935 MB / 482.6 MB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.2038, allocations: 1 kB / 482.6 MB, free: 26.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2038, allocations: 0 / 482.6 MB, free: 26.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002951/0.2041, allocations: 0 / 482.6 MB, free: 26.82 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.0112/0.2153, allocations: 4.535 MB / 487.1 MB, free: 24.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2154, allocations: 14.64 kB / 487.1 MB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.2167, allocations: 0.6552 MB / 487.8 MB, free: 23.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03894/0.2557, allocations: 7.272 MB / 495 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005313/0.261, allocations: 2.448 MB / 497.5 MB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.2611, allocations: 219.9 kB / 497.7 MB, free: 21.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000635/0.2617, allocations: 298.2 kB / 498 MB, free: 21.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.2728, allocations: 8.72 MB / 0.4948 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.349e-05/0.2729, allocations: 43.69 kB / 0.4949 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.2731, allocations: 135.9 kB / 0.495 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/0.2746, allocations: 1.657 MB / 0.4966 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009431/0.2841, allocations: 7.067 MB / 0.5035 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.3112, allocations: 32.05 MB / 0.5348 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.314, allocations: 1.874 MB / 0.5366 GB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009982/0.315, allocations: 1.129 MB / 0.5378 GB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.3152, allocations: 96.3 kB / 0.5378 GB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3152, allocations: 47 kB / 0.5379 GB, free: 2.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.507e-06/0.3152, allocations: 0 / 0.5379 GB, free: 2.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=140): time 0.01541/0.3306, allocations: 10.87 MB / 0.5485 GB, free: 7.609 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3307, allocations: 200.5 kB / 0.5487 GB, free: 7.367 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/0.3341, allocations: 3.972 MB / 0.5526 GB, free: 3.395 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.3342, allocations: 45.7 kB / 0.5526 GB, free: 3.344 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.3357, allocations: 2.928 MB / 0.5555 GB, free: 396 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.336, allocations: 0.566 MB / 0.556 GB, free: 15.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009113/0.3369, allocations: 1.064 MB / 0.5571 GB, free: 14.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.337, allocations: 301.1 kB / 0.5574 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.3386, allocations: 1.693 MB / 0.559 GB, free: 12.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.3417, allocations: 5.118 MB / 0.564 GB, free: 5.914 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006064/0.3478, allocations: 7.346 MB / 0.5712 GB, free: 12.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.08e-05/0.3479, allocations: 32 kB / 0.5712 GB, free: 12.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.00974/0.3576, allocations: 6.749 MB / 0.5778 GB, free: 6.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.3577, allocations: 56.19 kB / 0.5779 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.3578, allocations: 124 kB / 0.578 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.3585, allocations: 416.6 kB / 0.5784 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.3607, allocations: 1.213 MB / 0.5796 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.3635, allocations: 3.511 MB / 0.583 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.3659, allocations: 315.7 kB / 0.5833 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.3662, allocations: 328 kB / 0.5836 GB, free: 60 kB / 490.7 MB 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.002376/0.3686, allocations: 1.951 MB / 0.5855 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.3689, allocations: 321.8 kB / 0.5858 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.371, allocations: 1.878 MB / 0.5876 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.371, allocations: 16 kB / 0.5877 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.371, allocations: 7.984 kB / 0.5877 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.371, allocations: 8.172 kB / 0.5877 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.377, allocations: 5.6 MB / 0.5931 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.377, allocations: 0 / 0.5931 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.3775, allocations: 215.7 kB / 0.5933 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/0.3779, allocations: 263.2 kB / 0.5936 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.378, allocations: 27.92 kB / 0.5936 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.3801, allocations: 3.082 MB / 0.5966 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3801, allocations: 4.031 kB / 0.5966 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.3836, allocations: 3.959 MB / 0.6005 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.384, allocations: 317.7 kB / 0.6008 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.3842, allocations: 24 kB / 0.6008 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.3848, allocations: 95.86 kB / 0.6009 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.385, allocations: 100.5 kB / 0.601 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-05/0.385, allocations: 44.05 kB / 0.6011 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002123/0.3872, allocations: 2.382 MB / 0.6034 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 3.938 kB / 0.6034 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002567/0.3897, allocations: 0.9178 MB / 0.6043 GB, free: 10.66 MB / 0.5105 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.003974/0.3937, allocations: 4.592 MB / 0.6088 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004185/0.3979, allocations: 3.977 MB / 0.6127 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3979, allocations: 0 / 0.6127 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.3991, allocations: 1.103 MB / 0.6137 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.4004, allocations: 412.8 kB / 0.6141 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1967/0.5971, allocations: 38.37 MB / 0.6516 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.5991, allocations: 2.494 MB / 0.654 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002094/0.6012, allocations: 1.716 MB / 0.6557 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.6023, allocations: 1.666 MB / 0.6573 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.483e-06/0.6023, allocations: 0 / 0.6573 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/0.6776, allocations: 58.31 MB / 0.7143 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/10.19, allocations: 15.25 kB / 0.7143 GB, free: 130.1 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 12.447282905690372]