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.001833/0.001833, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.002288/0.002288, allocations: 215 kB / 24.48 MB, free: 3.934 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.415/1.415, allocations: 207.7 MB / 235.3 MB, free: 9.824 MB / 190.1 MB " [Timeout remaining time 178] 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: 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.001793/0.001793, allocations: 54.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2275, allocations: 49.16 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01041/0.2379, allocations: 10.94 MB / 407.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.2461, allocations: 4.005 MB / 411.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2482, allocations: 85.06 kB / 411.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006384/0.2545, allocations: 3.144 MB / 414.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.2608, allocations: 2.151 MB / 416.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.2632, allocations: 0.8332 MB / 417.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007152/0.2704, allocations: 4.565 MB / 422.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00505/0.2754, allocations: 3.197 MB / 425.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003259/0.2787, allocations: 1.795 MB / 427.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.2827, allocations: 2.387 MB / 429.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.2838, allocations: 388 kB / 429.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.2866, allocations: 1.178 MB / 431 MB, free: 348 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.2893, allocations: 2.286 MB / 433.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002822/0.2921, allocations: 1.914 MB / 435.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00932/0.3014, allocations: 8.397 MB / 443.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3014, allocations: 3.938 kB / 443.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3014, allocations: 0 / 443.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001525/0.3016, allocations: 0 / 443.6 MB, free: 3.688 MB / 350.1 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.0113/0.3129, allocations: 5.69 MB / 449.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3129, allocations: 11.98 kB / 449.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001154/0.3141, allocations: 0.819 MB / 450.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02345/0.3375, allocations: 3.999 MB / 454.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008224/0.3458, allocations: 3.357 MB / 457.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.346, allocations: 266.8 kB / 457.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009378/0.3469, allocations: 355.7 kB / 458.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02125/0.3682, allocations: 11.6 MB / 469.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.3683, allocations: 47.64 kB / 469.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/0.3688, allocations: 167.8 kB / 469.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.3731, allocations: 2.338 MB / 472.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.3935, allocations: 9.823 MB / 482.1 MB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05981/0.4533, allocations: 42.37 MB / 0.5122 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.4665, allocations: 4.602 MB / 0.5166 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.4705, allocations: 2.517 MB / 0.5191 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01307/0.4835, allocations: 6.8 MB / 0.5257 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.4836, allocations: 55.81 kB / 0.5258 GB, free: 2.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 5.68e-06/0.4836, allocations: 0 / 0.5258 GB, free: 2.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05199/0.5356, allocations: 19.98 MB / 0.5453 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.5357, allocations: 180.2 kB / 0.5455 GB, free: 14.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006849/0.5426, allocations: 5.013 MB / 0.5504 GB, free: 9.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.5429, allocations: 61.7 kB / 0.5504 GB, free: 9.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.5457, allocations: 3.549 MB / 0.5539 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.5468, allocations: 0.9224 MB / 0.5548 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/0.5487, allocations: 1.354 MB / 0.5561 GB, free: 3.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5488, allocations: 309.1 kB / 0.5564 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004181/0.553, allocations: 2.594 MB / 0.5589 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1702/0.7231, allocations: 6.521 MB / 0.5653 GB, free: 139.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009386/0.7325, allocations: 9.89 MB / 0.575 GB, free: 131.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.7326, allocations: 39.06 kB / 0.575 GB, free: 131.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.0149/0.7475, allocations: 9.698 MB / 0.5845 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.497e-05/0.7476, allocations: 67.28 kB / 0.5845 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.7477, allocations: 141.8 kB / 0.5847 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.7497, allocations: 0.9528 MB / 0.5856 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.754, allocations: 1.574 MB / 0.5871 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/0.7604, allocations: 6.378 MB / 0.5934 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/0.7658, allocations: 378.2 kB / 0.5937 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000822/0.7667, allocations: 398.6 kB / 0.5941 GB, free: 124.6 MB / 478.1 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.003719/0.7704, allocations: 2.373 MB / 0.5964 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007005/0.7711, allocations: 444.5 kB / 0.5969 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.7774, allocations: 4.394 MB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.7774, allocations: 25.97 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.7774, allocations: 4 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.7774, allocations: 11.81 kB / 0.6012 GB, free: 119.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.7924, allocations: 9.937 MB / 0.6109 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7924, allocations: 4 kB / 0.6109 GB, free: 110.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.7943, allocations: 426.3 kB / 0.6113 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.7961, allocations: 0.7718 MB / 0.6121 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.7962, allocations: 47.94 kB / 0.6121 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/0.8025, allocations: 5.956 MB / 0.6179 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.8025, allocations: 11.94 kB / 0.6179 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008652/0.8111, allocations: 7.724 MB / 0.6255 GB, free: 95.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/0.8132, allocations: 0.7749 MB / 0.6262 GB, free: 94.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.8137, allocations: 41.48 kB / 0.6263 GB, free: 94.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.8154, allocations: 147.8 kB / 0.6264 GB, free: 94.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.8156, allocations: 149.8 kB / 0.6266 GB, free: 94.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.8158, allocations: 70.64 kB / 0.6266 GB, free: 94.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003274/0.8191, allocations: 3.066 MB / 0.6296 GB, free: 91.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8191, allocations: 0 / 0.6296 GB, free: 91.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004218/0.8233, allocations: 1.153 MB / 0.6307 GB, free: 89.87 MB / 478.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 (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.008785/0.8321, allocations: 8.387 MB / 0.6389 GB, free: 81.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007248/0.8393, allocations: 6.021 MB / 0.6448 GB, free: 75.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8393, allocations: 4 kB / 0.6448 GB, free: 75.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.8422, allocations: 2.16 MB / 0.6469 GB, free: 73.22 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.8446, allocations: 0.5285 MB / 0.6474 GB, free: 72.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05957/0.9042, allocations: 55.16 MB / 0.7013 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/0.9073, allocations: 3.139 MB / 0.7044 GB, free: 8.051 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00416/0.9115, allocations: 2.22 MB / 0.7065 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/0.9139, allocations: 2.221 MB / 0.7087 GB, free: 3.602 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.9139, allocations: 0 / 0.7087 GB, free: 3.602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3379/1.252, allocations: 83.57 MB / 0.7903 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/19.47, allocations: 11.3 kB / 0.7903 GB, free: 165.1 MB / 0.5137 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/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: 26.70898440713063]