Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.000849/0.000849, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004643/0.004643, allocations: 163.1 kB / 24.69 MB, free: 9.414 MB / 18.57 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 0.8263/0.8263, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.661e-05, allocations: 2.281 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1283/0.1283, allocations: 10.95 MB / 309.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.1354, allocations: 3.998 MB / 313.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.1372, allocations: 86.31 kB / 313.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.141, allocations: 3.317 MB / 316.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.1453, allocations: 2.21 MB / 319 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1467, allocations: 0.8944 MB / 319.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004894/0.1516, allocations: 4.927 MB / 324.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.1553, allocations: 3.487 MB / 328.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.1593, allocations: 2.657 MB / 331 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.1624, allocations: 2.461 MB / 333.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006347/0.163, allocations: 392 kB / 333.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1647, allocations: 1.26 MB / 335.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001474/0.1662, allocations: 2.38 MB / 337.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.1676, allocations: 1.488 MB / 338.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006341/0.174, allocations: 8.422 MB / 347.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.174, allocations: 0 / 347.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.174, allocations: 0 / 347.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001999/0.1742, allocations: 4 kB / 347.4 MB, free: 13.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.009675/0.1839, allocations: 5.697 MB / 353.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1839, allocations: 11.98 kB / 353.1 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001238/0.1851, allocations: 0.8151 MB / 353.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.1973, allocations: 4.241 MB / 358.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005535/0.2028, allocations: 3.077 MB / 361.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.203, allocations: 271.4 kB / 361.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008038/0.2038, allocations: 361 kB / 361.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01301/0.2168, allocations: 11.6 MB / 373.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.822e-05/0.2169, allocations: 43.64 kB / 373.5 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.2173, allocations: 167.8 kB / 373.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.2195, allocations: 2.338 MB / 376 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.2335, allocations: 9.788 MB / 385.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04328/0.2768, allocations: 42.64 MB / 428.4 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007647/0.2844, allocations: 4.741 MB / 433.1 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.2871, allocations: 2.505 MB / 435.6 MB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/0.2958, allocations: 7.027 MB / 442.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.2958, allocations: 55.81 kB / 442.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 6.262e-06/0.2959, allocations: 3.938 kB / 442.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.03166/0.3275, allocations: 20.5 MB / 463.2 MB, free: 7.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.3276, allocations: 188.2 kB / 463.4 MB, free: 7.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/0.3337, allocations: 5.22 MB / 468.6 MB, free: 2.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005681/0.3343, allocations: 61.7 kB / 468.7 MB, free: 2.082 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1307/0.4649, allocations: 3.506 MB / 472.2 MB, free: 137.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/0.4662, allocations: 0.9176 MB / 473.1 MB, free: 136.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/0.468, allocations: 1.334 MB / 474.5 MB, free: 136.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.845e-05/0.4681, allocations: 301.8 kB / 474.8 MB, free: 136.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003172/0.4713, allocations: 2.586 MB / 477.3 MB, free: 135.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.4757, allocations: 6.518 MB / 483.9 MB, free: 129.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008103/0.4838, allocations: 9.871 MB / 493.7 MB, free: 121.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/0.4839, allocations: 38.69 kB / 493.8 MB, free: 121.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01261/0.4965, allocations: 9.699 MB / 0.4917 GB, free: 118.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.4966, allocations: 61.06 kB / 0.4917 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.4967, allocations: 142.1 kB / 0.4919 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.4981, allocations: 0.9488 MB / 0.4928 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.5014, allocations: 1.57 MB / 0.4943 GB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/0.5063, allocations: 6.438 MB / 0.5006 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.5105, allocations: 416.6 kB / 0.501 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008494/0.5114, allocations: 406.2 kB / 0.5014 GB, free: 112.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * Array equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003346/0.5147, allocations: 2.372 MB / 0.5037 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000715/0.5154, allocations: 437 kB / 0.5041 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/0.5202, allocations: 4.373 MB / 0.5084 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.5202, allocations: 28 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.5202, allocations: 4 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.5202, allocations: 10.78 kB / 0.5084 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.5312, allocations: 10.02 MB / 0.5182 GB, free: 96.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5312, allocations: 8 kB / 0.5182 GB, free: 96.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5322, allocations: 427.3 kB / 0.5186 GB, free: 96.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.5332, allocations: 0.7734 MB / 0.5194 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.5334, allocations: 51.42 kB / 0.5194 GB, free: 95.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.5375, allocations: 5.998 MB / 0.5253 GB, free: 89.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5375, allocations: 11.94 kB / 0.5253 GB, free: 89.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.5439, allocations: 7.678 MB / 0.5328 GB, free: 81.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.5455, allocations: 0.8065 MB / 0.5336 GB, free: 80.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.546, allocations: 44.86 kB / 0.5336 GB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.5471, allocations: 179.7 kB / 0.5338 GB, free: 80.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.5473, allocations: 157.5 kB / 0.534 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.733e-05/0.5474, allocations: 67.44 kB / 0.534 GB, free: 80.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00298/0.5504, allocations: 3.231 MB / 0.5372 GB, free: 77.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5504, allocations: 0 / 0.5372 GB, free: 77.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003822/0.5542, allocations: 1.256 MB / 0.5384 GB, free: 75.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006384/0.5606, allocations: 8.368 MB / 0.5466 GB, free: 67.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006086/0.5667, allocations: 6.024 MB / 0.5525 GB, free: 61.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.5667, allocations: 4 kB / 0.5525 GB, free: 61.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.5687, allocations: 2.14 MB / 0.5546 GB, free: 59.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.571, allocations: 0.5238 MB / 0.5551 GB, free: 58.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05855/0.6295, allocations: 55.66 MB / 0.6094 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003912/0.6334, allocations: 3.148 MB / 0.6125 GB, free: 9.598 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004532/0.638, allocations: 2.229 MB / 0.6147 GB, free: 7.363 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002934/0.6409, allocations: 2.226 MB / 0.6168 GB, free: 5.133 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6409, allocations: 0 / 0.6168 GB, free: 5.133 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2135/0.8545, allocations: 85.39 MB / 0.7002 GB, free: 79.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.08, allocations: 3.938 kB / 0.7002 GB, free: 79 MB / 442.7 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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: 13.806961572729051]