Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",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.001553/0.001553, allocations: 107.8 kB / 16.51 MB, free: 6.715 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.001299/0.001299, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 47.95 kB / 300.1 MB, free: 6.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1009, allocations: 49.44 MB / 349.5 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2077/0.3087, allocations: 38.41 MB / 387.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3268, allocations: 8.535 MB / 396.5 MB, free: 68 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008115/0.335, allocations: 166.8 kB / 396.6 MB, free: 40 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.3397, allocations: 2.293 MB / 398.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.344, allocations: 1.578 MB / 400.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3455, allocations: 0.5494 MB / 401 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005893/0.3514, allocations: 4.988 MB / 406 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003791/0.3552, allocations: 3.005 MB / 409 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.3574, allocations: 1.207 MB / 410.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.36, allocations: 1.923 MB / 412.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006173/0.3606, allocations: 204 kB / 412.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.3628, allocations: 1.104 MB / 413.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.3643, allocations: 1.613 MB / 415.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.3664, allocations: 1.895 MB / 417 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.3713, allocations: 5.977 MB / 423 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3714, allocations: 0 / 423 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3714, allocations: 4 kB / 423 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.811e-05/0.3715, allocations: 0 / 423 MB, free: 11.28 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.00705/0.3785, allocations: 4.246 MB / 427.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3786, allocations: 8.031 kB / 427.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006823/0.3793, allocations: 0.633 MB / 427.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.3852, allocations: 1.84 MB / 429.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.3888, allocations: 2.342 MB / 432 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.3889, allocations: 213.4 kB / 432.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.3897, allocations: 367.6 kB / 432.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.4022, allocations: 8.873 MB / 441.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.028e-05/0.4023, allocations: 39.59 kB / 441.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.4026, allocations: 135.9 kB / 441.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.4048, allocations: 1.641 MB / 443.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.4171, allocations: 7.498 MB / 450.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03695/0.4541, allocations: 35.14 MB / 485.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007816/0.4619, allocations: 3.452 MB / 489.4 MB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.4639, allocations: 1.445 MB / 490.8 MB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00882/0.4727, allocations: 6.761 MB / 497.6 MB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.4728, allocations: 55.09 kB / 497.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.857e-06/0.4728, allocations: 0 / 497.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02414/0.4969, allocations: 11.11 MB / 0.4968 GB, free: 3.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001245/0.4982, allocations: 1.617 MB / 0.4984 GB, free: 1.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.5023, allocations: 3.54 MB / 0.5018 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.5025, allocations: 49.69 kB / 0.5019 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.5042, allocations: 2.786 MB / 0.5046 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/0.5047, allocations: 0.5711 MB / 0.5052 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.5059, allocations: 1.099 MB / 0.5062 GB, free: 9.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.506, allocations: 305.1 kB / 0.5065 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/0.5085, allocations: 1.912 MB / 0.5084 GB, free: 6.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/0.5129, allocations: 5.361 MB / 0.5136 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/0.5203, allocations: 7.823 MB / 0.5213 GB, free: 6.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/0.5203, allocations: 36 kB / 0.5213 GB, free: 6.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.1515/0.6718, allocations: 8.43 MB / 0.5295 GB, free: 144.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.672, allocations: 60.59 kB / 0.5296 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01683/0.6888, allocations: 3.129 MB / 0.5327 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/0.7063, allocations: 1.861 MB / 0.5345 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006774/0.7131, allocations: 1.249 MB / 0.5357 GB, free: 144.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009749/0.7228, allocations: 5.683 MB / 0.5412 GB, free: 141.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.7265, allocations: 373.8 kB / 0.5416 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/0.7269, allocations: 345.1 kB / 0.5419 GB, free: 141 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002064/0.729, allocations: 1.853 MB / 0.5437 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.7294, allocations: 306.2 kB / 0.544 GB, free: 140.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.7339, allocations: 2.767 MB / 0.5467 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003653/0.7375, allocations: 2.357 MB / 0.549 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7376, allocations: 4.125 kB / 0.549 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.7376, allocations: 3.797 kB / 0.549 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.7475, allocations: 7.837 MB / 0.5567 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7475, allocations: 0.5156 kB / 0.5567 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009271/0.7484, allocations: 238 kB / 0.5569 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/0.751, allocations: 1.048 MB / 0.558 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7512, allocations: 44.16 kB / 0.558 GB, free: 134.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004062/0.7552, allocations: 4.943 MB / 0.5628 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007101/0.7559, allocations: 1.48 MB / 0.5643 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005849/0.7618, allocations: 4.96 MB / 0.5691 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005348/0.7624, allocations: 356.4 kB / 0.5694 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.7627, allocations: 43.14 kB / 0.5695 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7638, allocations: 115.8 kB / 0.5696 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.764, allocations: 92.39 kB / 0.5697 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.7641, allocations: 46.86 kB / 0.5697 GB, free: 124.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002215/0.7664, allocations: 2.191 MB / 0.5719 GB, free: 122.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7664, allocations: 0 / 0.5719 GB, free: 122.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0034/0.7698, allocations: 0.9519 MB / 0.5728 GB, free: 121.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005762/0.7755, allocations: 5.615 MB / 0.5783 GB, free: 116 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006209/0.7818, allocations: 5.166 MB / 0.5833 GB, free: 110.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7818, allocations: 0 / 0.5833 GB, free: 110.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.7845, allocations: 2.012 MB / 0.5853 GB, free: 108.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.7864, allocations: 380 kB / 0.5857 GB, free: 108.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05732/0.8437, allocations: 48.36 MB / 0.6329 GB, free: 53.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/0.8458, allocations: 2.912 MB / 0.6357 GB, free: 50.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003267/0.849, allocations: 1.695 MB / 0.6374 GB, free: 48.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.8505, allocations: 1.604 MB / 0.6389 GB, free: 46.89 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.8505, allocations: 4 kB / 0.639 GB, free: 46.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5659/1.416, allocations: 64.89 MB / 0.7023 GB, free: 149.5 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.417, allocations: 244.5 kB / 0.7026 GB, free: 149.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/4.777, allocations: 3.969 kB / 0.7026 GB, free: 149.2 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches