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.004699/0.004699, allocations: 114 kB / 21.97 MB, free: 5.223 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.001289/0.001289, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.358/1.358, allocations: 207.6 MB / 236.1 MB, free: 9.973 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="cs",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.001651/0.001651, allocations: 59.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2632, allocations: 49.15 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01172/0.2749, allocations: 12.57 MB / 409.7 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.2859, allocations: 4.245 MB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.2888, allocations: 85.47 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007004/0.2958, allocations: 3.281 MB / 417.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00739/0.3032, allocations: 2.151 MB / 419.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.3057, allocations: 0.8269 MB / 420.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008302/0.314, allocations: 4.566 MB / 424.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005697/0.3197, allocations: 3.222 MB / 428.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.3234, allocations: 1.779 MB / 429.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.3279, allocations: 2.547 MB / 432.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.3292, allocations: 388 kB / 432.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.3324, allocations: 1.307 MB / 434.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003463/0.3359, allocations: 2.294 MB / 436.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005047/0.341, allocations: 2.583 MB / 439 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.353, allocations: 8.362 MB / 447.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.353, allocations: 4 kB / 447.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.353, allocations: 0 / 447.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.3532, allocations: 0 / 447.4 MB, free: 0.9023 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.01103/0.3642, allocations: 5.69 MB / 453 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3642, allocations: 11.98 kB / 453.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001306/0.3644, allocations: 119.1 kB / 453.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.3654, allocations: 0.8151 MB / 454 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02241/0.3878, allocations: 3.999 MB / 458 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008935/0.3968, allocations: 3.334 MB / 461.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002516/0.397, allocations: 266.8 kB / 461.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.3981, allocations: 347.8 kB / 461.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.4182, allocations: 11.58 MB / 473.5 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.4183, allocations: 47.62 kB / 473.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.4187, allocations: 167.8 kB / 473.7 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004/0.4227, allocations: 2.338 MB / 476.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01969/0.4424, allocations: 9.85 MB / 485.9 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06229/0.5047, allocations: 44 MB / 0.5175 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/0.5174, allocations: 4.6 MB / 0.522 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/0.5211, allocations: 2.52 MB / 0.5244 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.5342, allocations: 7.322 MB / 0.5316 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.5343, allocations: 59.86 kB / 0.5316 GB, free: 13.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=216): time 4.879e-06/0.5343, allocations: 0 / 0.5316 GB, free: 13.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=237): time 0.05353/0.5878, allocations: 19.94 MB / 0.5511 GB, free: 9.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.588, allocations: 176.2 kB / 0.5513 GB, free: 9.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008604/0.5966, allocations: 4.785 MB / 0.5559 GB, free: 4.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002838/0.5969, allocations: 57.7 kB / 0.556 GB, free: 4.652 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003108/0.6, allocations: 3.553 MB / 0.5595 GB, free: 1.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.6011, allocations: 0.9302 MB / 0.5604 GB, free: 132 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1829/0.784, allocations: 1.347 MB / 0.5617 GB, free: 146.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.7841, allocations: 304.7 kB / 0.562 GB, free: 146.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004227/0.7883, allocations: 2.594 MB / 0.5645 GB, free: 145.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006/0.7943, allocations: 6.498 MB / 0.5709 GB, free: 139.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.8047, allocations: 9.894 MB / 0.5805 GB, free: 131.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/0.8048, allocations: 38.56 kB / 0.5806 GB, free: 131.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01504/0.8199, allocations: 9.702 MB / 0.59 GB, free: 128.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/0.82, allocations: 62.12 kB / 0.5901 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.8201, allocations: 137.4 kB / 0.5902 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.822, allocations: 0.9583 MB / 0.5912 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/0.8262, allocations: 1.576 MB / 0.5927 GB, free: 127.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.8323, allocations: 6.435 MB / 0.599 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/0.8368, allocations: 372.4 kB / 0.5993 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004771/0.8373, allocations: 402.7 kB / 0.5997 GB, free: 122.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.002845/0.8402, allocations: 2.385 MB / 0.6021 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006813/0.8408, allocations: 445 kB / 0.6025 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005836/0.8467, allocations: 4.393 MB / 0.6068 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.8467, allocations: 24 kB / 0.6068 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8467, allocations: 4 kB / 0.6068 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.8467, allocations: 15.95 kB / 0.6068 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.8593, allocations: 10.38 MB / 0.6169 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.8593, allocations: 12.11 kB / 0.617 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/0.861, allocations: 423.3 kB / 0.6174 GB, free: 105.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.8626, allocations: 0.772 MB / 0.6181 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.8628, allocations: 47.98 kB / 0.6182 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/0.8686, allocations: 6.02 MB / 0.624 GB, free: 98.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8686, allocations: 7.938 kB / 0.6241 GB, free: 98.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/0.8769, allocations: 7.72 MB / 0.6316 GB, free: 90.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.8785, allocations: 0.7698 MB / 0.6323 GB, free: 89.89 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/0.8789, allocations: 43.98 kB / 0.6324 GB, free: 89.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.8805, allocations: 145.1 kB / 0.6325 GB, free: 89.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.8808, allocations: 157.5 kB / 0.6327 GB, free: 89.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.881, allocations: 75.89 kB / 0.6327 GB, free: 89.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003322/0.8843, allocations: 3.059 MB / 0.6357 GB, free: 86.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8843, allocations: 0 / 0.6357 GB, free: 86.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004971/0.8893, allocations: 1.153 MB / 0.6369 GB, free: 85.28 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.008593/0.8979, allocations: 8.387 MB / 0.645 GB, free: 76.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007649/0.9055, allocations: 6.022 MB / 0.6509 GB, free: 70.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9055, allocations: 0 / 0.6509 GB, free: 70.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.9083, allocations: 2.158 MB / 0.653 GB, free: 68.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.9111, allocations: 0.5354 MB / 0.6536 GB, free: 68.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05697/0.9681, allocations: 55.17 MB / 0.7074 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.9711, allocations: 3.666 MB / 0.711 GB, free: 2.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003954/0.975, allocations: 2.22 MB / 0.7132 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002792/0.9778, allocations: 2.225 MB / 0.7154 GB, free: 14.49 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.9778, allocations: 0 / 0.7154 GB, free: 14.49 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6099/1.588, allocations: 88.69 MB / 0.802 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.02/21.61, allocations: 4.062 kB / 0.802 GB, free: 130.4 MB / 0.4981 GB " [Timeout remaining time 638] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.432643775013275]