Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001362/0.001362, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0015/0.0015, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002056/0.002056, allocations: 63.91 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3425, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01193/0.3544, allocations: 8.43 MB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00794/0.3623, allocations: 3.637 MB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.364, allocations: 59.75 kB / 0.5688 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005906/0.3699, allocations: 2.691 MB / 0.5714 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.3745, allocations: 1.658 MB / 0.5731 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.3764, allocations: 0.7096 MB / 0.5737 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00588/0.3822, allocations: 3.899 MB / 0.5776 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/0.3868, allocations: 2.748 MB / 0.5802 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.3896, allocations: 1.437 MB / 0.5816 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.3929, allocations: 1.935 MB / 0.5835 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009629/0.3939, allocations: 312 kB / 0.5838 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3965, allocations: 1.084 MB / 0.5849 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00235/0.3988, allocations: 1.792 MB / 0.5866 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00298/0.4018, allocations: 1.55 MB / 0.5882 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00956/0.4113, allocations: 6.892 MB / 0.5949 GB, free: 500 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4114, allocations: 0 / 0.5949 GB, free: 500 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4114, allocations: 4 kB / 0.5949 GB, free: 496 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002456/0.4116, allocations: 3.938 kB / 0.5949 GB, free: 492 kB / 430.1 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.01342/0.425, allocations: 4.508 MB / 0.5993 GB, free: 11.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4251, allocations: 8.031 kB / 0.5993 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001889/0.427, allocations: 0.6574 MB / 0.5999 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08686/0.5138, allocations: 7.059 MB / 0.6068 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007585/0.5214, allocations: 2.616 MB / 0.6094 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.5217, allocations: 222 kB / 0.6096 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.523, allocations: 291.8 kB / 0.6099 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.5407, allocations: 8.723 MB / 0.6184 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.5409, allocations: 39.7 kB / 0.6184 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009104/0.5418, allocations: 139.9 kB / 0.6186 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/0.5448, allocations: 1.657 MB / 0.6202 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.5594, allocations: 7.067 MB / 0.6271 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.6048, allocations: 31.86 MB / 0.6582 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/0.6096, allocations: 1.827 MB / 0.66 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.6114, allocations: 1.121 MB / 0.6611 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/0.6118, allocations: 96.34 kB / 0.6612 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.6119, allocations: 51 kB / 0.6612 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.358e-06/0.6119, allocations: 0 / 0.6612 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02852/0.6404, allocations: 10.57 MB / 0.6715 GB, free: 48 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.6405, allocations: 192.6 kB / 0.6717 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007226/0.6478, allocations: 3.793 MB / 0.6754 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.648, allocations: 45.7 kB / 0.6755 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003008/0.651, allocations: 2.963 MB / 0.6784 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009073/0.6519, allocations: 0.5699 MB / 0.6789 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/0.6539, allocations: 1.076 MB / 0.68 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6541, allocations: 301.1 kB / 0.6803 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.657, allocations: 1.704 MB / 0.6819 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/0.6632, allocations: 5.114 MB / 0.6869 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009946/0.6732, allocations: 7.346 MB / 0.6941 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001658/0.6733, allocations: 36 kB / 0.6941 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01344/0.6868, allocations: 6.743 MB / 0.7007 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.6869, allocations: 59.98 kB / 0.7008 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/0.6872, allocations: 120 kB / 0.7009 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.6882, allocations: 432.9 kB / 0.7013 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/0.6922, allocations: 1.201 MB / 0.7025 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.6969, allocations: 3.466 MB / 0.7059 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.7004, allocations: 287.8 kB / 0.7061 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007098/0.7012, allocations: 328 kB / 0.7064 GB, free: 8.695 MB / 0.545 GB 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.003357/0.7045, allocations: 1.954 MB / 0.7084 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007554/0.7053, allocations: 321.8 kB / 0.7087 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.7093, allocations: 1.878 MB / 0.7105 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.7093, allocations: 16 kB / 0.7105 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.7093, allocations: 8 kB / 0.7105 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7093, allocations: 3.984 kB / 0.7105 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.7218, allocations: 5.509 MB / 0.7159 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.7218, allocations: 8 kB / 0.7159 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7229, allocations: 211.7 kB / 0.7161 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/0.7236, allocations: 252.6 kB / 0.7163 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.7238, allocations: 23.98 kB / 0.7164 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.7277, allocations: 3.051 MB / 0.7194 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.7277, allocations: 7.969 kB / 0.7194 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/0.7343, allocations: 3.952 MB / 0.7232 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/0.7357, allocations: 293.6 kB / 0.7235 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008885/0.7366, allocations: 28.05 kB / 0.7235 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/0.7383, allocations: 67.92 kB / 0.7236 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.7386, allocations: 100.5 kB / 0.7237 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.7388, allocations: 43.97 kB / 0.7237 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005083/0.7438, allocations: 2.242 MB / 0.7259 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7438, allocations: 0 / 0.7259 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005048/0.7489, allocations: 0.8202 MB / 0.7267 GB, free: 3.715 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 (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.2886/1.038, allocations: 4.576 MB / 0.7312 GB, free: 156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006843/1.044, allocations: 3.964 MB / 0.7351 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.044, allocations: 0 / 0.7351 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.046, allocations: 1.1 MB / 0.7361 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.048, allocations: 408.6 kB / 0.7365 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/1.092, allocations: 37.97 MB / 0.7736 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/1.094, allocations: 2.49 MB / 0.776 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003199/1.097, allocations: 1.71 MB / 0.7777 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.099, allocations: 1.659 MB / 0.7793 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.264e-06/1.099, allocations: 0 / 0.7793 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09258/1.192, allocations: 56.8 MB / 0.8348 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.4, allocations: 15.17 kB / 0.8348 GB, free: 57.06 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 19.475277154240757]