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.001244/0.001244, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.00126/0.00126, allocations: 191 kB / 18.67 MB, free: 4.414 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.214/1.214, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001327/0.001328, allocations: 51.94 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.08669, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1853/0.272, allocations: 12.49 MB / 387.1 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.2803, allocations: 4.187 MB / 391.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.2825, allocations: 73.62 kB / 391.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005472/0.288, allocations: 3.227 MB / 394.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.2936, allocations: 2.077 MB / 396.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.2956, allocations: 0.8281 MB / 397.5 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006764/0.3023, allocations: 4.56 MB / 402.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004906/0.3073, allocations: 4.178 MB / 406.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.3102, allocations: 1.751 MB / 408 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.3136, allocations: 2.358 MB / 410.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008479/0.3145, allocations: 387.1 kB / 410.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.3173, allocations: 1.271 MB / 412 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002191/0.3195, allocations: 2.241 MB / 414.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.3223, allocations: 2.579 MB / 416.9 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.3308, allocations: 8.331 MB / 425.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3308, allocations: 0 / 425.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3308, allocations: 7.938 kB / 425.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.331, allocations: 0 / 425.2 MB, free: 13.3 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.009899/0.3409, allocations: 5.61 MB / 430.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.341, allocations: 8.031 kB / 430.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009222/0.3419, allocations: 0.823 MB / 431.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/0.3627, allocations: 3.964 MB / 435.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006828/0.3696, allocations: 3.393 MB / 439 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.3698, allocations: 270.8 kB / 439.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/0.3706, allocations: 347.7 kB / 439.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.3878, allocations: 11.59 MB / 451.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.887e-05/0.3879, allocations: 43.59 kB / 451.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004286/0.3884, allocations: 167.8 kB / 451.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003489/0.3919, allocations: 2.338 MB / 453.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.4091, allocations: 9.846 MB / 463.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04955/0.4587, allocations: 44.07 MB / 0.4957 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.4707, allocations: 5.275 MB / 0.5009 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.474, allocations: 2.76 MB / 0.5036 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/0.4855, allocations: 7.995 MB / 0.5114 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.4856, allocations: 59.81 kB / 0.5115 GB, free: 8.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.318e-06/0.4856, allocations: 0 / 0.5115 GB, free: 8.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.04619/0.5318, allocations: 19.96 MB / 0.5309 GB, free: 4.223 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.5319, allocations: 176.2 kB / 0.5311 GB, free: 4.012 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005984/0.5379, allocations: 4.776 MB / 0.5358 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003282/0.5382, allocations: 57.7 kB / 0.5358 GB, free: 15.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.5403, allocations: 3.421 MB / 0.5392 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008241/0.5411, allocations: 0.8907 MB / 0.54 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.5427, allocations: 1.345 MB / 0.5414 GB, free: 9.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.5428, allocations: 305.1 kB / 0.5416 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.5462, allocations: 2.594 MB / 0.5442 GB, free: 6.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1919/0.7381, allocations: 6.492 MB / 0.5505 GB, free: 143.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.7487, allocations: 9.893 MB / 0.5602 GB, free: 136.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/0.7489, allocations: 39.44 kB / 0.5602 GB, free: 136.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01664/0.7656, allocations: 9.683 MB / 0.5697 GB, free: 133.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.7657, allocations: 68.64 kB / 0.5697 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002095/0.7659, allocations: 136.7 kB / 0.5699 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.7683, allocations: 0.9633 MB / 0.5708 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005145/0.7735, allocations: 1.571 MB / 0.5723 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.7806, allocations: 6.549 MB / 0.5787 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/0.785, allocations: 371.5 kB / 0.5791 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005654/0.7856, allocations: 404.1 kB / 0.5795 GB, free: 129.3 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.003005/0.7886, allocations: 2.382 MB / 0.5818 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005942/0.7892, allocations: 415.7 kB / 0.5822 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/0.7952, allocations: 4.41 MB / 0.5865 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.7953, allocations: 24.75 kB / 0.5865 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7953, allocations: 10.61 kB / 0.5865 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.7953, allocations: 12.23 kB / 0.5866 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.8089, allocations: 10.41 MB / 0.5967 GB, free: 120.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.8089, allocations: 8.094 kB / 0.5967 GB, free: 120.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.8107, allocations: 429.8 kB / 0.5971 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.8124, allocations: 0.7654 MB / 0.5979 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.8126, allocations: 47.98 kB / 0.5979 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005885/0.8185, allocations: 6.113 MB / 0.6039 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8185, allocations: 15.94 kB / 0.6039 GB, free: 113.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/0.8272, allocations: 7.715 MB / 0.6115 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.8289, allocations: 0.8196 MB / 0.6123 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000557/0.8294, allocations: 44 kB / 0.6123 GB, free: 105.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.831, allocations: 141.5 kB / 0.6124 GB, free: 104.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.8313, allocations: 148.9 kB / 0.6126 GB, free: 104.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.8315, allocations: 71.98 kB / 0.6126 GB, free: 104.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003599/0.8351, allocations: 3.059 MB / 0.6156 GB, free: 101.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8351, allocations: 4 kB / 0.6156 GB, free: 101.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004901/0.84, allocations: 1.152 MB / 0.6168 GB, free: 100.5 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.008799/0.8488, allocations: 8.381 MB / 0.6249 GB, free: 92.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007845/0.8567, allocations: 6.298 MB / 0.6311 GB, free: 85.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.8567, allocations: 0.9375 kB / 0.6311 GB, free: 85.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.8598, allocations: 2.327 MB / 0.6334 GB, free: 83.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.8627, allocations: 0.5291 MB / 0.6339 GB, free: 82.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06569/0.9285, allocations: 54.9 MB / 0.6875 GB, free: 21.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/0.9316, allocations: 3.669 MB / 0.6911 GB, free: 18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004114/0.9358, allocations: 2.223 MB / 0.6933 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002317/0.9381, allocations: 2.218 MB / 0.6954 GB, free: 13.55 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.9381, allocations: 0 / 0.6954 GB, free: 13.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7279/1.666, allocations: 83.74 MB / 0.7772 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.24/20.9, allocations: 11.06 kB / 0.7772 GB, free: 151.2 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