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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001506, allocations: 110.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2158/0.3229, allocations: 12.49 MB / 387.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3334, allocations: 4.192 MB / 391.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003738/0.3372, allocations: 73.44 kB / 391.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007037/0.3443, allocations: 3.226 MB / 394.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007546/0.3519, allocations: 2.074 MB / 396.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.3546, allocations: 0.831 MB / 397.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009907/0.3645, allocations: 4.556 MB / 402.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.3712, allocations: 4.169 MB / 406.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.375, allocations: 1.757 MB / 408 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.379, allocations: 2.349 MB / 410.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008833/0.3799, allocations: 391.1 kB / 410.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.3827, allocations: 1.275 MB / 412 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.385, allocations: 2.228 MB / 414.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.3877, allocations: 2.579 MB / 416.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009524/0.3973, allocations: 8.361 MB / 425.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3973, allocations: 4 kB / 425.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3973, allocations: 0 / 425.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000175/0.3975, allocations: 4 kB / 425.2 MB, free: 13.15 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.0132/0.4107, allocations: 5.765 MB / 431 MB, free: 7.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4108, allocations: 8.031 kB / 431 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001719/0.4125, allocations: 0.8229 MB / 431.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02377/0.4363, allocations: 4.003 MB / 435.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008639/0.445, allocations: 3.399 MB / 439.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.4453, allocations: 270.6 kB / 439.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/0.4466, allocations: 347.8 kB / 439.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.4695, allocations: 11.58 MB / 451.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.4697, allocations: 51.56 kB / 451.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/0.4702, allocations: 175.8 kB / 451.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004008/0.4742, allocations: 2.327 MB / 453.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.4944, allocations: 9.854 MB / 463.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06135/0.5558, allocations: 44.14 MB / 0.496 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/0.5691, allocations: 5.28 MB / 0.5012 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003803/0.5729, allocations: 2.756 MB / 0.5039 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.5864, allocations: 8.012 MB / 0.5117 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.5865, allocations: 55.88 kB / 0.5118 GB, free: 7.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 5.69e-06/0.5865, allocations: 0 / 0.5118 GB, free: 7.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05035/0.6369, allocations: 20.22 MB / 0.5315 GB, free: 3.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.6371, allocations: 188.1 kB / 0.5317 GB, free: 3.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007202/0.6443, allocations: 4.785 MB / 0.5364 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004425/0.6447, allocations: 61.7 kB / 0.5364 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/0.6477, allocations: 3.549 MB / 0.5399 GB, free: 10.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/0.649, allocations: 0.9263 MB / 0.5408 GB, free: 9.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/0.6511, allocations: 1.358 MB / 0.5421 GB, free: 8.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6512, allocations: 309 kB / 0.5424 GB, free: 8.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/0.6553, allocations: 2.594 MB / 0.5449 GB, free: 5.688 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2311/0.8864, allocations: 6.489 MB / 0.5513 GB, free: 142.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/0.9, allocations: 9.89 MB / 0.5609 GB, free: 136.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002232/0.9003, allocations: 43.03 kB / 0.561 GB, free: 136.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02088/0.9212, allocations: 9.706 MB / 0.5704 GB, free: 132.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.9213, allocations: 65.58 kB / 0.5705 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/0.9216, allocations: 136.4 kB / 0.5706 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/0.9241, allocations: 0.9558 MB / 0.5716 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005429/0.9296, allocations: 1.577 MB / 0.5731 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.9367, allocations: 6.558 MB / 0.5795 GB, free: 128.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/0.9414, allocations: 374.9 kB / 0.5799 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008277/0.9422, allocations: 403.8 kB / 0.5803 GB, free: 128.7 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.003786/0.946, allocations: 2.371 MB / 0.5826 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009002/0.9469, allocations: 440 kB / 0.583 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/0.9535, allocations: 4.408 MB / 0.5873 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/0.9536, allocations: 28.06 kB / 0.5873 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.9536, allocations: 3.688 kB / 0.5873 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.9537, allocations: 18.64 kB / 0.5874 GB, free: 126 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.9702, allocations: 10.42 MB / 0.5975 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.9702, allocations: 4 kB / 0.5975 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.9721, allocations: 431.8 kB / 0.5979 GB, free: 120.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.9739, allocations: 0.7648 MB / 0.5987 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.9742, allocations: 47.98 kB / 0.5987 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006271/0.9805, allocations: 6.127 MB / 0.6047 GB, free: 113.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9805, allocations: 9.719 kB / 0.6047 GB, free: 113.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009167/0.9897, allocations: 7.734 MB / 0.6123 GB, free: 105.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/0.9916, allocations: 0.84 MB / 0.6131 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006201/0.9922, allocations: 47.98 kB / 0.6131 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.994, allocations: 143.8 kB / 0.6133 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.9943, allocations: 145.7 kB / 0.6134 GB, free: 104.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.9945, allocations: 60 kB / 0.6135 GB, free: 104.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004066/0.9986, allocations: 3.074 MB / 0.6165 GB, free: 101.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.9986, allocations: 0 / 0.6165 GB, free: 101.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005927/1.005, allocations: 1.157 MB / 0.6176 GB, free: 100.1 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.008743/1.013, allocations: 8.398 MB / 0.6258 GB, free: 91.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008432/1.022, allocations: 6.3 MB / 0.632 GB, free: 85.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.022, allocations: 0 / 0.632 GB, free: 85.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/1.025, allocations: 2.334 MB / 0.6342 GB, free: 82.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/1.028, allocations: 0.5313 MB / 0.6348 GB, free: 82.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/1.096, allocations: 55.09 MB / 0.6886 GB, free: 21.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003552/1.099, allocations: 3.677 MB / 0.6922 GB, free: 17.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004774/1.104, allocations: 2.223 MB / 0.6943 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/1.107, allocations: 2.214 MB / 0.6965 GB, free: 12.91 MB / 478.1 MB Notification: Performance of SimCode: time 1.623e-06/1.107, allocations: 0 / 0.6965 GB, free: 12.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3691/1.476, allocations: 82.53 MB / 0.7771 GB, free: 151.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.49/20.97, allocations: 10.25 kB / 0.7771 GB, free: 151.3 MB / 0.4981 GB (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 --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) 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) Reference file matches