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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 116.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 191.7 kB / 20.02 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 227.9 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3255/0.3255, allocations: 43.51 MB / 320.8 MB, free: 8.996 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002204/0.002204, allocations: 71.89 kB / 450 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3288, allocations: 57.78 MB / 0.4959 GB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01121/0.3401, allocations: 11.24 MB / 0.5069 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008896/0.349, allocations: 4.057 MB / 0.5108 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.3517, allocations: 60.84 kB / 0.5109 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005042/0.3568, allocations: 2.828 MB / 0.5137 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.3624, allocations: 1.888 MB / 0.5155 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3643, allocations: 0.7055 MB / 0.5162 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006451/0.3708, allocations: 4.184 MB / 0.5203 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006115/0.3769, allocations: 3.901 MB / 0.5241 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.3807, allocations: 1.589 MB / 0.5256 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.3851, allocations: 2.239 MB / 0.5278 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.3862, allocations: 372 kB / 0.5282 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.3894, allocations: 1.233 MB / 0.5294 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.392, allocations: 2.049 MB / 0.5314 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003475/0.3955, allocations: 2.463 MB / 0.5338 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.407, allocations: 8.093 MB / 0.5417 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.407, allocations: 0 / 0.5417 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.407, allocations: 0 / 0.5417 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002234/0.4073, allocations: 0 / 0.5417 GB, free: 11.16 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.01596/0.4232, allocations: 5.237 MB / 0.5468 GB, free: 5.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.4233, allocations: 19.81 kB / 0.5468 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002377/0.4257, allocations: 0.7738 MB / 0.5476 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09075/0.5165, allocations: 7.168 MB / 0.5546 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007456/0.524, allocations: 3.141 MB / 0.5576 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/0.5243, allocations: 258.3 kB / 0.5579 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.5253, allocations: 339.8 kB / 0.5582 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.5439, allocations: 10.37 MB / 0.5683 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.5441, allocations: 47.62 kB / 0.5684 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.5445, allocations: 163.8 kB / 0.5685 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003666/0.5482, allocations: 2.088 MB / 0.5706 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.566, allocations: 8.607 MB / 0.579 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05614/0.6222, allocations: 38.31 MB / 0.6164 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/0.6285, allocations: 3.001 MB / 0.6193 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/0.6313, allocations: 1.688 MB / 0.621 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.6318, allocations: 336 kB / 0.6213 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.6318, allocations: 63.67 kB / 0.6214 GB, free: 7.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=176): time 4.298e-06/0.6318, allocations: 0 / 0.6214 GB, free: 7.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=194): time 0.035/0.6668, allocations: 14.15 MB / 0.6352 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.667, allocations: 201.2 kB / 0.6354 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/0.6731, allocations: 3.859 MB / 0.6391 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000501/0.6737, allocations: 61.69 kB / 0.6392 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003402/0.6771, allocations: 3.346 MB / 0.6425 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.6786, allocations: 0.7675 MB / 0.6432 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2878/0.9664, allocations: 1.215 MB / 0.6444 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.9665, allocations: 304.6 kB / 0.6447 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/0.9714, allocations: 2.15 MB / 0.6468 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00666/0.9781, allocations: 5.833 MB / 0.6525 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.989, allocations: 8.636 MB / 0.6609 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002297/0.9893, allocations: 41.53 kB / 0.661 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01684/1.006, allocations: 8.006 MB / 0.6688 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.006, allocations: 60.19 kB / 0.6688 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/1.006, allocations: 129.2 kB / 0.669 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009846/1.007, allocations: 449.5 kB / 0.6694 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.012, allocations: 1.421 MB / 0.6708 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/1.015, allocations: 3.609 MB / 0.6743 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.019, allocations: 347.6 kB / 0.6746 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005001/1.019, allocations: 371.2 kB / 0.675 GB, free: 106.9 MB / 0.4981 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.002622/1.022, allocations: 2.234 MB / 0.6772 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004924/1.023, allocations: 358.4 kB / 0.6775 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/1.027, allocations: 2.885 MB / 0.6803 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.027, allocations: 22.89 kB / 0.6804 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/1.027, allocations: 8.75 kB / 0.6804 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.027, allocations: 7.969 kB / 0.6804 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.038, allocations: 7.779 MB / 0.688 GB, free: 98.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.038, allocations: 0 / 0.688 GB, free: 98.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.04, allocations: 347.5 kB / 0.6883 GB, free: 97.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006757/1.04, allocations: 256.6 kB / 0.6885 GB, free: 97.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/1.041, allocations: 35.97 kB / 0.6886 GB, free: 97.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/1.043, allocations: 3.178 MB / 0.6917 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.043, allocations: 0 / 0.6917 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007208/1.051, allocations: 5.489 MB / 0.697 GB, free: 88.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.052, allocations: 0.6477 MB / 0.6977 GB, free: 88.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004877/1.053, allocations: 28 kB / 0.6977 GB, free: 88.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.054, allocations: 130.1 kB / 0.6978 GB, free: 87.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/1.054, allocations: 123.8 kB / 0.6979 GB, free: 87.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.054, allocations: 51.98 kB / 0.698 GB, free: 87.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002841/1.057, allocations: 2.405 MB / 0.7003 GB, free: 85.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.057, allocations: 0 / 0.7003 GB, free: 85.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004499/1.062, allocations: 1.004 MB / 0.7013 GB, free: 84.38 MB / 0.4981 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.006899/1.069, allocations: 6.135 MB / 0.7073 GB, free: 78.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007247/1.076, allocations: 5.179 MB / 0.7124 GB, free: 73.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.076, allocations: 0 / 0.7124 GB, free: 73.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/1.078, allocations: 1.653 MB / 0.714 GB, free: 71.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.081, allocations: 437.1 kB / 0.7144 GB, free: 70.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05775/1.138, allocations: 44.73 MB / 0.7581 GB, free: 20.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/1.141, allocations: 3.459 MB / 0.7615 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003568/1.145, allocations: 1.944 MB / 0.7634 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.147, allocations: 1.983 MB / 0.7653 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/1.147, allocations: 0 / 0.7653 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.269, allocations: 66.28 MB / 0.83 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/19.11, allocations: 11.84 kB / 0.83 GB, free: 10.71 MB / 0.5606 GB " [Timeout remaining time 641] (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 --stepSize=0.000219912 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 22.4794417549856]