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.001543/0.001543, allocations: 107.5 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.002031/0.002031, allocations: 226.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.452/1.452, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.2303/0.2303, allocations: 44.24 MB / 330.3 MB, free: 9.516 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.002149/0.002149, allocations: 75.3 kB / 467.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 61.04 MB / 0.5161 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01336/0.1331, allocations: 11.33 MB / 0.5272 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009607/0.1427, allocations: 4.093 MB / 0.5312 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.1452, allocations: 67.75 kB / 0.5313 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006164/0.1514, allocations: 2.881 MB / 0.5341 GB, free: 4.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.1569, allocations: 1.95 MB / 0.536 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.1587, allocations: 0.7057 MB / 0.5367 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2468/0.4055, allocations: 4.171 MB / 0.5408 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.4103, allocations: 3.018 MB / 0.5437 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.4137, allocations: 1.625 MB / 0.5453 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.4183, allocations: 2.417 MB / 0.5477 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001364/0.4197, allocations: 374.2 kB / 0.548 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.4226, allocations: 1.275 MB / 0.5493 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.4253, allocations: 2.109 MB / 0.5513 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.4286, allocations: 2.453 MB / 0.5537 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.439, allocations: 8.097 MB / 0.5616 GB, free: 5.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.439, allocations: 4 kB / 0.5616 GB, free: 5.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.439, allocations: 2.844 kB / 0.5616 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002915/0.4393, allocations: 0 / 0.5616 GB, free: 5.359 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.01544/0.4547, allocations: 5.161 MB / 0.5667 GB, free: 2.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4547, allocations: 9.625 kB / 0.5667 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001875/0.4566, allocations: 0.7766 MB / 0.5674 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0829/0.5395, allocations: 7.165 MB / 0.5744 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008624/0.5481, allocations: 3.073 MB / 0.5774 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.5484, allocations: 254.5 kB / 0.5777 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.5494, allocations: 341.8 kB / 0.578 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/0.5674, allocations: 10.39 MB / 0.5881 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.5676, allocations: 43.45 kB / 0.5882 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005213/0.5681, allocations: 159.1 kB / 0.5883 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003648/0.5718, allocations: 2.093 MB / 0.5904 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.5907, allocations: 8.604 MB / 0.5988 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05706/0.6477, allocations: 38.12 MB / 0.636 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/0.6538, allocations: 2.396 MB / 0.6383 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.6566, allocations: 1.527 MB / 0.6398 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.657, allocations: 118.4 kB / 0.6399 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.657, allocations: 51.56 kB / 0.64 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 5.029e-06/0.657, allocations: 0 / 0.64 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03309/0.6901, allocations: 13.93 MB / 0.6536 GB, free: 2.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.6903, allocations: 200.7 kB / 0.6538 GB, free: 2.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005654/0.6959, allocations: 3.86 MB / 0.6576 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.6963, allocations: 57.7 kB / 0.6576 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002478/0.6987, allocations: 3.343 MB / 0.6609 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009241/0.6997, allocations: 0.7651 MB / 0.6616 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.7013, allocations: 1.223 MB / 0.6628 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7014, allocations: 309.1 kB / 0.6631 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/0.7049, allocations: 2.143 MB / 0.6652 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/0.7112, allocations: 5.834 MB / 0.6709 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.7222, allocations: 8.635 MB / 0.6793 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.519e-05/0.7223, allocations: 40 kB / 0.6794 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01594/0.7382, allocations: 8.003 MB / 0.6872 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/0.7383, allocations: 60 kB / 0.6873 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/0.7385, allocations: 132 kB / 0.6874 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.7396, allocations: 438.8 kB / 0.6878 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/0.7447, allocations: 1.427 MB / 0.6892 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.7495, allocations: 3.508 MB / 0.6926 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/0.7552, allocations: 347.8 kB / 0.6929 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/0.7563, allocations: 371.9 kB / 0.6933 GB, free: 6.355 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.007/0.7633, allocations: 2.233 MB / 0.6955 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/0.7646, allocations: 361.6 kB / 0.6958 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/0.7711, allocations: 2.879 MB / 0.6986 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/0.7711, allocations: 23.98 kB / 0.6987 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.7711, allocations: 4 kB / 0.6987 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.7712, allocations: 7.969 kB / 0.6987 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.7893, allocations: 7.754 MB / 0.7062 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.7893, allocations: 0 / 0.7062 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.7911, allocations: 343.4 kB / 0.7066 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008028/0.7919, allocations: 260.6 kB / 0.7068 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.792, allocations: 35.97 kB / 0.7069 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.7958, allocations: 3.064 MB / 0.7099 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7958, allocations: 3.938 kB / 0.7099 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/0.8047, allocations: 5.494 MB / 0.7152 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/0.8068, allocations: 0.5793 MB / 0.7158 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007362/0.8076, allocations: 31.94 kB / 0.7158 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.8092, allocations: 111.1 kB / 0.7159 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/0.8096, allocations: 137 kB / 0.7161 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8097, allocations: 63.81 kB / 0.7161 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004575/0.8143, allocations: 2.409 MB / 0.7185 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8143, allocations: 0 / 0.7185 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006776/0.8211, allocations: 0.9921 MB / 0.7194 GB, free: 11.45 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.01008/0.8312, allocations: 6.13 MB / 0.7254 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009715/0.8409, allocations: 4.977 MB / 0.7303 GB, free: 336 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.8409, allocations: 3.938 kB / 0.7303 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.8436, allocations: 1.532 MB / 0.7318 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.8461, allocations: 452.7 kB / 0.7322 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2977/1.144, allocations: 44.82 MB / 0.776 GB, free: 211.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004427/1.148, allocations: 3.461 MB / 0.7794 GB, free: 210.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004863/1.153, allocations: 1.943 MB / 0.7813 GB, free: 210.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/1.156, allocations: 1.99 MB / 0.7832 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.272e-06/1.156, allocations: 0 / 0.7832 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.272, allocations: 71.68 MB / 0.8532 GB, free: 160.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.64/20.91, allocations: 7.797 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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.067129684000975]