Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003133/0.003139, allocations: 187.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.632/3.632, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001723/0.001722, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007408/0.0007409, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1576, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.4491/0.6067, allocations: 15.46 MB / 390 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02136/0.6282, allocations: 4.808 MB / 394.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/0.6342, allocations: 73.69 kB / 394.9 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.639, allocations: 0.7141 MB / 395.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.6556, allocations: 2.419 MB / 398 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.6593, allocations: 461.2 kB / 398.5 MB, free: 8.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006504/0.6658, allocations: 1.461 MB / 399.9 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006366/0.6723, allocations: 1.568 MB / 401.5 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003104/0.6755, allocations: 0.6308 MB / 402.1 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.6789, allocations: 0.8486 MB / 403 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.6801, allocations: 81 kB / 403.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004414/0.6845, allocations: 0.7316 MB / 403.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002843/0.6875, allocations: 0.9163 MB / 404.7 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.6894, allocations: 0.4973 MB / 405.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008833/0.6983, allocations: 3.095 MB / 408.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6984, allocations: 3.938 kB / 408.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.6985, allocations: 0 / 408.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001977/0.6987, allocations: 0 / 408.3 MB, free: 5.371 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.01355/0.7122, allocations: 2.595 MB / 410.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.7123, allocations: 8.625 kB / 410.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.7302, allocations: 1.9 MB / 412.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007451/0.7377, allocations: 1.625 MB / 414.4 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/0.7381, allocations: 124 kB / 414.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.7399, allocations: 159.9 kB / 414.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/0.7685, allocations: 6.574 MB / 421.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.7688, allocations: 35.64 kB / 421.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/0.7702, allocations: 87.81 kB / 421.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007245/0.7775, allocations: 1.464 MB / 422.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/0.8067, allocations: 5.871 MB / 428.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07646/0.8832, allocations: 25.81 MB / 454.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01323/0.8965, allocations: 2.595 MB / 457.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02432/0.9209, allocations: 4.856 MB / 462 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.92e-05/0.9211, allocations: 46.5 kB / 462 MB, free: 2.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=97): time 8.597e-06/0.9211, allocations: 0 / 462 MB, free: 2.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.06901/0.9901, allocations: 10.08 MB / 472.1 MB, free: 8.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.9904, allocations: 140.9 kB / 472.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.002, allocations: 2.836 MB / 475.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005134/1.002, allocations: 41.7 kB / 475.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003707/1.006, allocations: 2.038 MB / 477.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.007, allocations: 432.9 kB / 477.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008279/1.008, allocations: 80 kB / 477.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0008043/1.009, allocations: 495.8 kB / 478.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006744/1.016, allocations: 1.425 MB / 479.6 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.027, allocations: 4.026 MB / 483.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009668/1.037, allocations: 2.33 MB / 485.9 MB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/1.037, allocations: 27.94 kB / 486 MB, free: 9.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.02904/1.066, allocations: 5.909 MB / 491.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/1.067, allocations: 44.19 kB / 491.9 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/1.067, allocations: 99.94 kB / 492 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006428/1.073, allocations: 0.8279 MB / 492.8 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008278/1.082, allocations: 0.9396 MB / 493.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.097, allocations: 4.437 MB / 498.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007989/1.105, allocations: 243.6 kB / 498.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.107, allocations: 263.2 kB / 498.7 MB, free: 12.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00672/1.114, allocations: 1.368 MB / 0.4884 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.115, allocations: 237 kB / 0.4886 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.126, allocations: 2.126 MB / 0.4907 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/1.127, allocations: 12 kB / 0.4907 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-05/1.127, allocations: 7.984 kB / 0.4907 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.474e-05/1.127, allocations: 3.984 kB / 0.4907 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/1.154, allocations: 5.084 MB / 0.4957 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.813e-05/1.154, allocations: 8.062 kB / 0.4957 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.157, allocations: 155.8 kB / 0.4958 GB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005748/1.162, allocations: 0.6756 MB / 0.4965 GB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004429/1.163, allocations: 16 kB / 0.4965 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.177, allocations: 3.986 MB / 0.5004 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.177, allocations: 0 / 0.5004 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/1.195, allocations: 4.153 MB / 0.5044 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.198, allocations: 465.9 kB / 0.5049 GB, free: 9.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.199, allocations: 16 kB / 0.5049 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/1.203, allocations: 75.84 kB / 0.505 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008088/1.204, allocations: 60.28 kB / 0.505 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.204, allocations: 31.2 kB / 0.5051 GB, free: 9.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007615/1.211, allocations: 1.792 MB / 0.5068 GB, free: 7.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.211, allocations: 0 / 0.5068 GB, free: 7.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009466/1.221, allocations: 0.6836 MB / 0.5075 GB, free: 7.012 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/1.222, allocations: 192 kB / 0.5077 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.014/1.237, allocations: 3.457 MB / 0.511 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.237, allocations: 0 / 0.511 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004145/1.241, allocations: 1.041 MB / 0.512 GB, free: 2.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.244, allocations: 235.4 kB / 0.5123 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/1.272, allocations: 6.94 MB / 0.5191 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007796/1.28, allocations: 2.299 MB / 0.5213 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.282, allocations: 195.4 kB / 0.5215 GB, free: 8.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/1.282, allocations: 0 / 0.5215 GB, free: 8.582 MB / 410.7 MB Notification: Performance of Templates: time 0.5998/1.881, allocations: 46.98 MB / 0.5674 GB, free: 123.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches