Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001389/0.001388, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.47 kB / 306.4 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09162, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1949/0.2865, allocations: 49.34 MB / 406.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02441/0.311, allocations: 10.32 MB / 416.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009608/0.3206, allocations: 212 kB / 416.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005813/0.3265, allocations: 3.173 MB / 419.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004959/0.3315, allocations: 1.767 MB / 421.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3333, allocations: 0.7684 MB / 422.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007406/0.3407, allocations: 6.43 MB / 428.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005093/0.3458, allocations: 3.994 MB / 432.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.3485, allocations: 1.433 MB / 434.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.3518, allocations: 2.274 MB / 436.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.3529, allocations: 252 kB / 436.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.3554, allocations: 1.213 MB / 438.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002306/0.3578, allocations: 1.928 MB / 440 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003296/0.3611, allocations: 2.229 MB / 442.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006938/0.368, allocations: 7.13 MB / 449.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.368, allocations: 0 / 449.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.368, allocations: 0 / 449.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000243/0.3683, allocations: 0 / 449.3 MB, free: 15.06 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01115/0.3795, allocations: 5.15 MB / 454.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3795, allocations: 12.03 kB / 454.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009736/0.3805, allocations: 0.736 MB / 455.2 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01997/0.4005, allocations: 3.868 MB / 459.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005797/0.4063, allocations: 2.921 MB / 462 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.4065, allocations: 242.1 kB / 462.3 MB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007639/0.4073, allocations: 319.9 kB / 462.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/0.4242, allocations: 10.38 MB / 473 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.4244, allocations: 39.69 kB / 473 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006591/0.4251, allocations: 155.9 kB / 473.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003249/0.4283, allocations: 2.033 MB / 475.2 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.444, allocations: 8.788 MB / 484 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04418/0.4882, allocations: 40.77 MB / 0.5124 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.4991, allocations: 4.413 MB / 0.5168 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.5021, allocations: 2.434 MB / 0.5191 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.5129, allocations: 7.22 MB / 0.5262 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.5129, allocations: 51.5 kB / 0.5262 GB, free: 3.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 4.779e-06/0.5129, allocations: 4 kB / 0.5262 GB, free: 3.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.2108/0.7238, allocations: 17.79 MB / 0.5436 GB, free: 143.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.7239, allocations: 173.9 kB / 0.5438 GB, free: 143.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005614/0.7295, allocations: 4.566 MB / 0.5482 GB, free: 141.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.7297, allocations: 56.31 kB / 0.5483 GB, free: 141.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.7311, allocations: 3.153 MB / 0.5514 GB, free: 139 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.7315, allocations: 0.759 MB / 0.5521 GB, free: 138.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/0.7328, allocations: 1.237 MB / 0.5533 GB, free: 137.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.055e-05/0.7329, allocations: 302.8 kB / 0.5536 GB, free: 137.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.7353, allocations: 2.275 MB / 0.5558 GB, free: 136.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/0.7388, allocations: 5.957 MB / 0.5616 GB, free: 131.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00652/0.7453, allocations: 8.958 MB / 0.5704 GB, free: 123.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.194e-05/0.7454, allocations: 36 kB / 0.5704 GB, free: 123.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.0103/0.7557, allocations: 8.801 MB / 0.579 GB, free: 114.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.7558, allocations: 61.88 kB / 0.5791 GB, free: 114.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/0.7559, allocations: 132 kB / 0.5792 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.7578, allocations: 0.9389 MB / 0.5801 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.761, allocations: 1.404 MB / 0.5815 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.7669, allocations: 6.105 MB / 0.5875 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.7708, allocations: 335.5 kB / 0.5878 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.7713, allocations: 376 kB / 0.5881 GB, free: 105.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (744): * Single equations (assignments): 738 * 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.002767/0.774, allocations: 2.179 MB / 0.5903 GB, free: 102.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/0.7748, allocations: 394.8 kB / 0.5906 GB, free: 102.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.7798, allocations: 3.687 MB / 0.5942 GB, free: 98.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.7799, allocations: 20 kB / 0.5943 GB, free: 98.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.7799, allocations: 4 kB / 0.5943 GB, free: 98.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.7799, allocations: 15.95 kB / 0.5943 GB, free: 98.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.7926, allocations: 9.134 MB / 0.6032 GB, free: 89.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.7927, allocations: 8 kB / 0.6032 GB, free: 89.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.794, allocations: 319.5 kB / 0.6035 GB, free: 89.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.7958, allocations: 0.7655 MB / 0.6043 GB, free: 88.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.796, allocations: 47.92 kB / 0.6043 GB, free: 88.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/0.8018, allocations: 5.632 MB / 0.6098 GB, free: 82.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8018, allocations: 11.94 kB / 0.6098 GB, free: 82.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007881/0.8097, allocations: 6.577 MB / 0.6162 GB, free: 75.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.811, allocations: 459.9 kB / 0.6167 GB, free: 75.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.8114, allocations: 39.98 kB / 0.6167 GB, free: 75.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.8128, allocations: 111.9 kB / 0.6168 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.8131, allocations: 125 kB / 0.6169 GB, free: 75.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.8133, allocations: 63.67 kB / 0.617 GB, free: 75.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003379/0.8166, allocations: 2.936 MB / 0.6199 GB, free: 72.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.8166, allocations: 0 / 0.6199 GB, free: 72.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004298/0.821, allocations: 1.021 MB / 0.6209 GB, free: 71.18 MB / 446.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 (157): * Single equations (assignments): 153 * 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.007273/0.8282, allocations: 7.237 MB / 0.6279 GB, free: 63.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007139/0.8354, allocations: 5.51 MB / 0.6333 GB, free: 58.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.8354, allocations: 0 / 0.6333 GB, free: 58.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003565/0.839, allocations: 1.981 MB / 0.6352 GB, free: 56.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/0.8435, allocations: 491.7 kB / 0.6357 GB, free: 55.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07443/0.918, allocations: 59.84 MB / 0.6942 GB, free: 3.703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/0.9215, allocations: 3.367 MB / 0.6974 GB, free: 308 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1542/1.076, allocations: 2.027 MB / 0.6994 GB, free: 152.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/1.078, allocations: 1.988 MB / 0.7014 GB, free: 152.1 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/1.078, allocations: 0 / 0.7014 GB, free: 152.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/1.166, allocations: 78.68 MB / 0.7782 GB, free: 92.67 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/1.166, allocations: 253.6 kB / 0.7784 GB, free: 92.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/4.715, allocations: 0 / 0.7784 GB, free: 92.4 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches