Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 205.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.91 kB / 377.7 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2299, allocations: 53.42 MB / 431.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01254/0.2425, allocations: 9.821 MB / 441 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.2506, allocations: 3.855 MB / 444.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.252, allocations: 79.62 kB / 444.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006262/0.2582, allocations: 3.096 MB / 448 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005188/0.2634, allocations: 1.934 MB / 449.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.2653, allocations: 0.8306 MB / 450.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006384/0.2717, allocations: 4.404 MB / 455.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004054/0.2758, allocations: 3.028 MB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.2781, allocations: 1.639 MB / 459.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.2812, allocations: 2.149 MB / 462 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006879/0.2819, allocations: 348 kB / 462.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.284, allocations: 1.127 MB / 463.5 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.2861, allocations: 2.057 MB / 465.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.2882, allocations: 1.712 MB / 467.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.2966, allocations: 7.494 MB / 474.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2966, allocations: 7.922 kB / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2966, allocations: 0 / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.2967, allocations: 0 / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01129/0.308, allocations: 5.204 MB / 479.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3081, allocations: 15.98 kB / 479.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/0.3092, allocations: 0.7282 MB / 480.7 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/0.3317, allocations: 3.894 MB / 484.6 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/0.3384, allocations: 2.92 MB / 487.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.3386, allocations: 242.2 kB / 487.7 MB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007486/0.3393, allocations: 327.8 kB / 488 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.3575, allocations: 10.4 MB / 498.4 MB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3576, allocations: 43.64 kB / 498.5 MB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/0.3581, allocations: 151.9 kB / 498.6 MB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.3617, allocations: 2.029 MB / 0.4889 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.3793, allocations: 8.768 MB / 0.4975 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2245/0.6039, allocations: 39.12 MB / 0.5357 GB, free: 92.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.6145, allocations: 3.797 MB / 0.5394 GB, free: 92.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.6167, allocations: 2.239 MB / 0.5416 GB, free: 91.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008875/0.6256, allocations: 6.092 MB / 0.5475 GB, free: 89.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.6256, allocations: 61.5 kB / 0.5476 GB, free: 89.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.158e-06/0.6256, allocations: 3.375 kB / 0.5476 GB, free: 89.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03838/0.664, allocations: 17.86 MB / 0.565 GB, free: 78.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.6641, allocations: 171.5 kB / 0.5652 GB, free: 78.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004531/0.6686, allocations: 4.794 MB / 0.5699 GB, free: 73.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000276/0.6689, allocations: 53.7 kB / 0.5699 GB, free: 73.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.6701, allocations: 3.271 MB / 0.5731 GB, free: 70.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.6705, allocations: 0.785 MB / 0.5739 GB, free: 69.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.6716, allocations: 1.254 MB / 0.5751 GB, free: 68.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.181e-05/0.6716, allocations: 308.3 kB / 0.5754 GB, free: 68.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.674, allocations: 2.283 MB / 0.5776 GB, free: 65.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.6774, allocations: 5.983 MB / 0.5835 GB, free: 57.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00663/0.684, allocations: 8.954 MB / 0.5922 GB, free: 47.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.918e-05/0.6841, allocations: 36 kB / 0.5923 GB, free: 47.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01291/0.697, allocations: 8.801 MB / 0.6009 GB, free: 38.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/0.6971, allocations: 66.5 kB / 0.6009 GB, free: 38.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.6972, allocations: 128 kB / 0.601 GB, free: 38.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.6993, allocations: 0.9441 MB / 0.602 GB, free: 37.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/0.7036, allocations: 1.407 MB / 0.6033 GB, free: 35.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.7099, allocations: 6.342 MB / 0.6095 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/0.7141, allocations: 347.5 kB / 0.6099 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.7146, allocations: 372.8 kB / 0.6102 GB, free: 28.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (744): * Single equations (assignments): 738 * 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.002326/0.7169, allocations: 2.166 MB / 0.6123 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.7174, allocations: 417.2 kB / 0.6127 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.7224, allocations: 3.676 MB / 0.6163 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.7225, allocations: 24 kB / 0.6164 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7225, allocations: 11.25 kB / 0.6164 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7225, allocations: 7.969 kB / 0.6164 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.7348, allocations: 8.618 MB / 0.6248 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.7349, allocations: 4 kB / 0.6248 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.7362, allocations: 323.5 kB / 0.6251 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.738, allocations: 0.7621 MB / 0.6258 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.7381, allocations: 39.94 kB / 0.6259 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006412/0.7445, allocations: 5.967 MB / 0.6317 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7445, allocations: 8 kB / 0.6317 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007628/0.7521, allocations: 6.604 MB / 0.6382 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.7533, allocations: 405.1 kB / 0.6386 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005253/0.7539, allocations: 43.94 kB / 0.6386 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.7554, allocations: 111.8 kB / 0.6387 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.7558, allocations: 129.4 kB / 0.6388 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.7559, allocations: 59.98 kB / 0.6389 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004902/0.7608, allocations: 2.932 MB / 0.6417 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7608, allocations: 0 / 0.6417 GB, free: 12.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005104/0.7659, allocations: 1.031 MB / 0.6427 GB, free: 11.14 MB / 462.1 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 (157): * Single equations (assignments): 153 * 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.01122/0.7771, allocations: 7.261 MB / 0.6498 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009393/0.7865, allocations: 5.311 MB / 0.655 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.7866, allocations: 0 / 0.655 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003551/0.7901, allocations: 1.841 MB / 0.6568 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.7932, allocations: 0.508 MB / 0.6573 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07801/0.8712, allocations: 50.19 MB / 0.7063 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/0.8754, allocations: 2.827 MB / 0.7091 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005273/0.8806, allocations: 2.033 MB / 0.7111 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/0.8838, allocations: 1.995 MB / 0.713 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of SimCode: time 1.432e-06/0.8838, allocations: 0 / 0.713 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/1.189, allocations: 77.39 MB / 0.7886 GB, free: 162 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.95, allocations: 10.73 kB / 0.7886 GB, free: 162 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 20.531620933208615]