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.001357/0.001357, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001454/0.001454, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2451/0.2451, allocations: 46.97 MB / 360.9 MB, free: 4.023 MB / 286.1 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 0.002019/0.002019, allocations: 63.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01125/0.3389, allocations: 8.42 MB / 0.5688 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007678/0.3466, allocations: 3.641 MB / 0.5724 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3478, allocations: 63.69 kB / 0.5724 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00493/0.3527, allocations: 2.679 MB / 0.5751 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003928/0.3566, allocations: 1.662 MB / 0.5767 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.3582, allocations: 0.7252 MB / 0.5774 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005167/0.3634, allocations: 3.891 MB / 0.5812 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.3667, allocations: 2.745 MB / 0.5839 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.3688, allocations: 1.437 MB / 0.5853 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.3714, allocations: 1.927 MB / 0.5872 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005684/0.3719, allocations: 312 kB / 0.5874 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.3739, allocations: 1.092 MB / 0.5885 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001701/0.3756, allocations: 1.792 MB / 0.5903 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.3775, allocations: 1.557 MB / 0.5918 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008618/0.3861, allocations: 6.88 MB / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3861, allocations: 0 / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3861, allocations: 0 / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001637/0.3863, allocations: 0 / 0.5985 GB, free: 13.2 MB / 446.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.01201/0.3983, allocations: 4.508 MB / 0.6029 GB, free: 8.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.3983, allocations: 8.031 kB / 0.6029 GB, free: 8.629 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.3995, allocations: 0.6574 MB / 0.6036 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08624/0.4857, allocations: 7.063 MB / 0.6105 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0077/0.4934, allocations: 2.62 MB / 0.613 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.4937, allocations: 218 kB / 0.6132 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.4948, allocations: 303.8 kB / 0.6135 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.5111, allocations: 8.703 MB / 0.622 GB, free: 4.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001907/0.5113, allocations: 51.62 kB / 0.6221 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009026/0.5122, allocations: 135.9 kB / 0.6222 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002979/0.5151, allocations: 1.653 MB / 0.6238 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.531, allocations: 7.067 MB / 0.6307 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.5786, allocations: 31.87 MB / 0.6618 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/0.5832, allocations: 1.821 MB / 0.6636 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.5849, allocations: 1.133 MB / 0.6647 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.5851, allocations: 84.44 kB / 0.6648 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.5852, allocations: 47.06 kB / 0.6648 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.937e-06/0.5852, allocations: 0 / 0.6648 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02511/0.6103, allocations: 10.58 MB / 0.6752 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.6104, allocations: 200.5 kB / 0.6754 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/0.6154, allocations: 3.793 MB / 0.6791 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/0.6156, allocations: 41.7 kB / 0.6791 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002104/0.6177, allocations: 2.956 MB / 0.682 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.6183, allocations: 0.5777 MB / 0.6826 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.6196, allocations: 1.072 MB / 0.6836 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6197, allocations: 301.1 kB / 0.6839 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.6224, allocations: 1.7 MB / 0.6855 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.6276, allocations: 5.118 MB / 0.6905 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009246/0.6369, allocations: 7.34 MB / 0.6977 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.637, allocations: 39.94 kB / 0.6978 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01248/0.6495, allocations: 6.738 MB / 0.7043 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/0.6495, allocations: 56 kB / 0.7044 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.6497, allocations: 120.9 kB / 0.7045 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.6507, allocations: 432.5 kB / 0.7049 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/0.6542, allocations: 1.205 MB / 0.7061 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.6586, allocations: 3.462 MB / 0.7095 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.6627, allocations: 283.7 kB / 0.7097 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005478/0.6632, allocations: 332 kB / 0.7101 GB, free: 5.406 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.003209/0.6664, allocations: 1.967 MB / 0.712 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/0.6671, allocations: 317.8 kB / 0.7123 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.6705, allocations: 1.874 MB / 0.7141 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.6706, allocations: 16 kB / 0.7141 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6706, allocations: 4 kB / 0.7141 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.6706, allocations: 7.969 kB / 0.7141 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.6809, allocations: 5.509 MB / 0.7195 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6809, allocations: 7.828 kB / 0.7195 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.6819, allocations: 211.7 kB / 0.7197 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007186/0.6826, allocations: 252.6 kB / 0.72 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.6827, allocations: 23.98 kB / 0.72 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.6864, allocations: 3.043 MB / 0.723 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6864, allocations: 4.141 kB / 0.723 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006231/0.6927, allocations: 3.966 MB / 0.7268 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.6935, allocations: 289.6 kB / 0.7271 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/0.694, allocations: 24 kB / 0.7271 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6952, allocations: 71.92 kB / 0.7272 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.6954, allocations: 100.5 kB / 0.7273 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.6955, allocations: 35.98 kB / 0.7273 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003387/0.6989, allocations: 2.242 MB / 0.7295 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6989, allocations: 4.062 kB / 0.7295 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004315/0.7032, allocations: 0.824 MB / 0.7303 GB, free: 440 kB / 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.2863/0.9895, allocations: 4.573 MB / 0.7348 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005816/0.9954, allocations: 3.97 MB / 0.7387 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9954, allocations: 0 / 0.7387 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.9968, allocations: 1.106 MB / 0.7398 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.999, allocations: 386.3 kB / 0.7401 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04504/1.044, allocations: 37.98 MB / 0.7772 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003049/1.047, allocations: 2.495 MB / 0.7797 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00315/1.05, allocations: 1.702 MB / 0.7813 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.052, allocations: 1.662 MB / 0.7829 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.052, allocations: 4 kB / 0.7829 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09529/1.147, allocations: 56.81 MB / 0.8384 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.33, allocations: 6.234 kB / 0.8384 GB, free: 50.82 MB / 0.5606 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/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: 19.48955840105191]