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.00167/0.00167, 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.001471/0.001471, allocations: 191 kB / 18.66 MB, free: 4.418 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.335/1.335, 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.001337/0.001337, allocations: 59.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.0993, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2119/0.3112, allocations: 12.49 MB / 387.1 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009084/0.3204, allocations: 4.182 MB / 391.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.3232, allocations: 74.59 kB / 391.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006198/0.3295, allocations: 3.225 MB / 394.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.3358, allocations: 2.079 MB / 396.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3383, allocations: 0.8339 MB / 397.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008521/0.3469, allocations: 4.564 MB / 402.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006323/0.3532, allocations: 4.161 MB / 406.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.357, allocations: 1.759 MB / 408 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.3612, allocations: 2.352 MB / 410.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001486/0.3627, allocations: 386.8 kB / 410.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.3663, allocations: 1.275 MB / 412 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00351/0.3699, allocations: 2.242 MB / 414.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004861/0.3747, allocations: 2.579 MB / 416.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009973/0.3847, allocations: 8.327 MB / 425.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3848, allocations: 0 / 425.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3848, allocations: 3.984 kB / 425.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002567/0.385, allocations: 4 kB / 425.2 MB, free: 13.17 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.01387/0.3989, allocations: 5.614 MB / 430.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.399, allocations: 12.03 kB / 430.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002258/0.4012, allocations: 0.8151 MB / 431.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02314/0.4244, allocations: 3.972 MB / 435.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008351/0.4328, allocations: 3.382 MB / 439 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.4331, allocations: 270.7 kB / 439.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.4345, allocations: 355.7 kB / 439.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/0.4543, allocations: 11.58 MB / 451.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.4545, allocations: 51.53 kB / 451.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.4549, allocations: 163.8 kB / 451.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003596/0.4585, allocations: 2.339 MB / 453.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.4764, allocations: 9.854 MB / 463.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05346/0.5299, allocations: 44.07 MB / 0.4957 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.5424, allocations: 5.28 MB / 0.5009 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/0.5459, allocations: 2.756 MB / 0.5036 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.5586, allocations: 7.999 MB / 0.5114 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.5587, allocations: 51.88 kB / 0.5115 GB, free: 8.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.558e-06/0.5587, allocations: 0 / 0.5115 GB, free: 8.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.04693/0.6056, allocations: 19.95 MB / 0.5309 GB, free: 4.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6058, allocations: 180.2 kB / 0.5311 GB, free: 3.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/0.6117, allocations: 4.776 MB / 0.5358 GB, free: 15.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.612, allocations: 65.61 kB / 0.5358 GB, free: 15.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/0.6141, allocations: 3.421 MB / 0.5392 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008584/0.615, allocations: 0.8868 MB / 0.54 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/0.6166, allocations: 1.345 MB / 0.5414 GB, free: 9.297 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.6167, allocations: 305.1 kB / 0.5416 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003447/0.6202, allocations: 2.594 MB / 0.5442 GB, free: 6.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1772/0.7974, allocations: 6.494 MB / 0.5505 GB, free: 143.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/0.8086, allocations: 9.887 MB / 0.5602 GB, free: 136.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/0.8087, allocations: 45.28 kB / 0.5602 GB, free: 136.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01558/0.8243, allocations: 9.687 MB / 0.5697 GB, free: 133 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.8244, allocations: 64.81 kB / 0.5697 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.8246, allocations: 137.3 kB / 0.5699 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.8269, allocations: 0.9539 MB / 0.5708 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004814/0.8317, allocations: 1.579 MB / 0.5723 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006909/0.8386, allocations: 6.547 MB / 0.5787 GB, free: 129.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/0.8428, allocations: 379.6 kB / 0.5791 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005233/0.8433, allocations: 404.3 kB / 0.5795 GB, free: 129 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.002721/0.846, allocations: 2.371 MB / 0.5818 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005176/0.8466, allocations: 419.2 kB / 0.5822 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005903/0.8525, allocations: 4.405 MB / 0.5865 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8525, allocations: 25.03 kB / 0.5865 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.8525, allocations: 10.73 kB / 0.5865 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.8526, allocations: 14.92 kB / 0.5866 GB, free: 126.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.8663, allocations: 10.42 MB / 0.5967 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.8663, allocations: 4 kB / 0.5967 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.8681, allocations: 425.8 kB / 0.5971 GB, free: 120.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.8698, allocations: 0.7741 MB / 0.5979 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.87, allocations: 51.5 kB / 0.5979 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.8759, allocations: 6.112 MB / 0.6039 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8759, allocations: 11.94 kB / 0.6039 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/0.8843, allocations: 7.71 MB / 0.6115 GB, free: 105.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/0.8863, allocations: 0.8196 MB / 0.6123 GB, free: 104.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/0.8869, allocations: 47.98 kB / 0.6123 GB, free: 104.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8885, allocations: 139.8 kB / 0.6124 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.8888, allocations: 149.6 kB / 0.6126 GB, free: 104.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.8889, allocations: 60 kB / 0.6126 GB, free: 104.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003351/0.8923, allocations: 3.074 MB / 0.6156 GB, free: 101.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8923, allocations: 3.5 kB / 0.6156 GB, free: 101.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004433/0.8967, allocations: 1.151 MB / 0.6168 GB, free: 100.3 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.008437/0.9052, allocations: 8.368 MB / 0.6249 GB, free: 91.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007385/0.9126, allocations: 6.308 MB / 0.6311 GB, free: 85.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9126, allocations: 0 / 0.6311 GB, free: 85.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002763/0.9154, allocations: 2.333 MB / 0.6334 GB, free: 83.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.918, allocations: 0.5248 MB / 0.6339 GB, free: 82.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05527/0.9733, allocations: 54.91 MB / 0.6875 GB, free: 21.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.9761, allocations: 3.665 MB / 0.6911 GB, free: 17.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003833/0.9799, allocations: 2.223 MB / 0.6933 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/0.982, allocations: 2.218 MB / 0.6954 GB, free: 13.38 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.982, allocations: 0 / 0.6954 GB, free: 13.38 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.917/2.899, allocations: 83.75 MB / 0.7772 GB, free: 150.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.25/26.14, allocations: 7.125 kB / 0.7772 GB, free: 150.8 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