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.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.001778/0.001778, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 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.002251/0.002251, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.52/1.52, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.2878/0.2878, allocations: 44.26 MB / 330.3 MB, free: 9.504 MB / 270.1 MB " [Timeout remaining time 179] 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003562/0.003562, allocations: 67.91 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1488, allocations: 61.04 MB / 0.5161 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01498/0.1638, allocations: 11.33 MB / 0.5272 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.1736, allocations: 4.105 MB / 0.5312 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.1759, allocations: 71.69 kB / 0.5313 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006506/0.1824, allocations: 2.877 MB / 0.5341 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.1886, allocations: 1.949 MB / 0.536 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1911, allocations: 0.6979 MB / 0.5367 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2813/0.4724, allocations: 4.179 MB / 0.5408 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/0.4766, allocations: 3.014 MB / 0.5437 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.4797, allocations: 1.63 MB / 0.5453 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.4841, allocations: 2.415 MB / 0.5477 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.4852, allocations: 373 kB / 0.548 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4882, allocations: 1.272 MB / 0.5493 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003104/0.4913, allocations: 2.112 MB / 0.5513 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004181/0.4955, allocations: 2.454 MB / 0.5537 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.5103, allocations: 8.099 MB / 0.5616 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.5103, allocations: 0 / 0.5616 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5103, allocations: 1.344 kB / 0.5616 GB, free: 5.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003746/0.5107, allocations: 0 / 0.5616 GB, free: 5.344 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.01848/0.5292, allocations: 5.163 MB / 0.5667 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/0.5292, allocations: 8.5 kB / 0.5667 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/0.5313, allocations: 0.7749 MB / 0.5674 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08275/0.6141, allocations: 7.168 MB / 0.5744 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009104/0.6232, allocations: 3.074 MB / 0.5774 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.6235, allocations: 253.1 kB / 0.5777 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001363/0.6248, allocations: 339.1 kB / 0.578 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/0.6437, allocations: 10.38 MB / 0.5881 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.6439, allocations: 44.39 kB / 0.5882 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/0.6443, allocations: 166.1 kB / 0.5883 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00358/0.6479, allocations: 2.092 MB / 0.5904 GB, free: 3.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01709/0.665, allocations: 8.6 MB / 0.5988 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05986/0.7248, allocations: 38.12 MB / 0.636 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006259/0.7311, allocations: 2.387 MB / 0.6383 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.734, allocations: 1.534 MB / 0.6398 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004019/0.7344, allocations: 115.2 kB / 0.6399 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.7344, allocations: 54.08 kB / 0.64 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.799e-06/0.7345, allocations: 0 / 0.64 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03754/0.772, allocations: 13.93 MB / 0.6536 GB, free: 2.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.7721, allocations: 201.2 kB / 0.6538 GB, free: 2.438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008119/0.7803, allocations: 3.86 MB / 0.6576 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004499/0.7807, allocations: 64.97 kB / 0.6576 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00281/0.7835, allocations: 3.343 MB / 0.6609 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.7846, allocations: 0.7637 MB / 0.6616 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001829/0.7864, allocations: 1.224 MB / 0.6628 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7866, allocations: 309.1 kB / 0.6631 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003686/0.7903, allocations: 2.143 MB / 0.6652 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007098/0.7974, allocations: 5.83 MB / 0.6709 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/0.8095, allocations: 8.63 MB / 0.6793 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/0.8096, allocations: 36 kB / 0.6794 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01659/0.8262, allocations: 8.007 MB / 0.6872 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.8264, allocations: 63.98 kB / 0.6873 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/0.8266, allocations: 132 kB / 0.6874 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.8277, allocations: 437.4 kB / 0.6878 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/0.8327, allocations: 1.423 MB / 0.6892 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004578/0.8373, allocations: 3.512 MB / 0.6926 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/0.8424, allocations: 347.8 kB / 0.6929 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.8434, allocations: 370.9 kB / 0.6933 GB, free: 6.371 MB / 0.5294 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.005022/0.8484, allocations: 2.234 MB / 0.6955 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/0.8493, allocations: 361.6 kB / 0.6958 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006182/0.8555, allocations: 2.878 MB / 0.6986 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.8555, allocations: 22.5 kB / 0.6987 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.8555, allocations: 4 kB / 0.6987 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.8556, allocations: 9.047 kB / 0.6987 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01898/0.8745, allocations: 7.752 MB / 0.7062 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.8746, allocations: 0 / 0.7062 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.8763, allocations: 345.4 kB / 0.7066 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008115/0.8771, allocations: 264.5 kB / 0.7068 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.8773, allocations: 31.98 kB / 0.7069 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003929/0.8813, allocations: 3.069 MB / 0.7099 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8813, allocations: 0 / 0.7099 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009224/0.8905, allocations: 5.503 MB / 0.7152 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/0.8925, allocations: 0.5754 MB / 0.7158 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/0.8933, allocations: 35.14 kB / 0.7158 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.8952, allocations: 111.9 kB / 0.7159 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/0.8956, allocations: 133 kB / 0.7161 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/0.8958, allocations: 55.98 kB / 0.7161 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005142/0.9009, allocations: 2.405 MB / 0.7185 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9009, allocations: 0 / 0.7185 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005978/0.9069, allocations: 0.996 MB / 0.7194 GB, free: 11.46 MB / 0.5606 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.009809/0.9167, allocations: 6.132 MB / 0.7254 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009673/0.9264, allocations: 4.981 MB / 0.7303 GB, free: 344 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9264, allocations: 0 / 0.7303 GB, free: 344 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.9292, allocations: 1.535 MB / 0.7318 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.9327, allocations: 436.1 kB / 0.7322 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.329/1.262, allocations: 44.82 MB / 0.776 GB, free: 211.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005197/1.267, allocations: 3.454 MB / 0.7793 GB, free: 210.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005114/1.272, allocations: 1.949 MB / 0.7813 GB, free: 210.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003276/1.275, allocations: 1.989 MB / 0.7832 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/1.275, allocations: 0 / 0.7832 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/1.402, allocations: 71.7 MB / 0.8532 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.61/21.01, allocations: 3.859 kB / 0.8532 GB, free: 160.6 MB / 0.6075 GB " [Timeout remaining time 639] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.718948187073693]