Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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: 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_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_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001334/0.001334, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.377/1.377, allocations: 205.1 MB / 225 MB, free: 12.3 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.001274/0.001274, allocations: 51.92 kB / 281.3 MB, free: 3.152 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.07984, allocations: 46.62 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008635/0.08852, allocations: 7.675 MB / 335.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005961/0.09452, allocations: 3.302 MB / 338.9 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.09569, allocations: 35.94 kB / 339 MB, free: 9.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.09789, allocations: 1.031 MB / 340 MB, free: 8.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.1012, allocations: 1.339 MB / 341.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1026, allocations: 0.5457 MB / 341.9 MB, free: 6.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004025/0.1067, allocations: 2.602 MB / 344.5 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.1087, allocations: 1.386 MB / 345.9 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1102, allocations: 0.8446 MB / 346.7 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1119, allocations: 1.152 MB / 347.9 MB, free: 448 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004784/0.1124, allocations: 148 kB / 348 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.1143, allocations: 0.8931 MB / 348.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.1154, allocations: 1.06 MB / 350 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001569/0.117, allocations: 1.25 MB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.1212, allocations: 3.952 MB / 355.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1212, allocations: 0 / 355.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1212, allocations: 0 / 355.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001183/0.1213, allocations: 0 / 355.2 MB, free: 9.113 MB / 302.1 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.005452/0.1268, allocations: 3.003 MB / 358.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1269, allocations: 8.031 kB / 358.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.1324, allocations: 1.573 MB / 359.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.135, allocations: 1.45 MB / 361.2 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.1351, allocations: 130.9 kB / 361.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.1355, allocations: 163.8 kB / 361.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009212/0.1447, allocations: 6.534 MB / 368 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.556e-05/0.1448, allocations: 27.81 kB / 368.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.145, allocations: 87.88 kB / 368.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002423/0.1475, allocations: 1.464 MB / 369.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009696/0.1572, allocations: 5.83 MB / 375.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1756/0.3328, allocations: 25.75 MB / 401.2 MB, free: 32.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.3381, allocations: 2.543 MB / 403.7 MB, free: 31.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.3396, allocations: 1.22 MB / 404.9 MB, free: 30.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/0.3462, allocations: 4.82 MB / 409.8 MB, free: 27.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3462, allocations: 42.5 kB / 409.8 MB, free: 27.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.216e-06/0.3463, allocations: 4 kB / 409.8 MB, free: 27.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02188/0.3681, allocations: 9.793 MB / 419.6 MB, free: 20.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3682, allocations: 141 kB / 419.7 MB, free: 20.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.3712, allocations: 2.722 MB / 422.5 MB, free: 17.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.3715, allocations: 44.89 kB / 422.5 MB, free: 17.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008311/0.3723, allocations: 2.045 MB / 424.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.3726, allocations: 429.4 kB / 425 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008269/0.3735, allocations: 0.8371 MB / 425.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.3735, allocations: 305.1 kB / 426.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.3752, allocations: 1.445 MB / 427.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.3778, allocations: 4.079 MB / 431.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/0.3825, allocations: 5.955 MB / 437.6 MB, free: 172 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/0.3826, allocations: 28 kB / 437.6 MB, free: 144 kB / 318.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01193/0.3946, allocations: 6.031 MB / 443.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.3947, allocations: 44.19 kB / 443.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.3948, allocations: 96 kB / 443.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.3973, allocations: 0.8188 MB / 444.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.4006, allocations: 0.9551 MB / 445.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.407, allocations: 4.648 MB / 450.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/0.4104, allocations: 243.6 kB / 450.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/0.4111, allocations: 263.2 kB / 450.7 MB, free: 2.926 MB / 334.1 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 (502): * Single equations (assignments): 498 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002262/0.4133, allocations: 1.372 MB / 452.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.4138, allocations: 225 kB / 452.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004387/0.4182, allocations: 2.134 MB / 454.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/0.4183, allocations: 19.98 kB / 454.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.4183, allocations: 0 / 454.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.4183, allocations: 7.984 kB / 454.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009435/0.4277, allocations: 5.089 MB / 459.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4278, allocations: 0.5625 kB / 459.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/0.4286, allocations: 159.8 kB / 459.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.4309, allocations: 0.6911 MB / 460.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.431, allocations: 23.69 kB / 460.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.4363, allocations: 4.14 MB / 464.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4363, allocations: 4.031 kB / 464.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/0.4435, allocations: 4.062 MB / 468.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.4447, allocations: 458 kB / 469.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.4451, allocations: 16 kB / 469.1 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4461, allocations: 71.89 kB / 469.1 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.4463, allocations: 52.36 kB / 469.2 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/0.4464, allocations: 32 kB / 469.2 MB, free: 120 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002585/0.449, allocations: 1.698 MB / 470.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.449, allocations: 0 / 470.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003596/0.4526, allocations: 0.6796 MB / 471.6 MB, free: 13.73 MB / 366.1 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 (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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005283/0.4532, allocations: 192.9 kB / 471.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.4591, allocations: 3.713 MB / 475.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.4592, allocations: 0 / 475.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.4607, allocations: 1.032 MB / 476.5 MB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.4624, allocations: 274.6 kB / 476.8 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4725, allocations: 5.961 MB / 482.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.475, allocations: 2.237 MB / 485 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/0.4758, allocations: 195.4 kB / 485.2 MB, free: 88 kB / 366.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4758, allocations: 0 / 485.2 MB, free: 88 kB / 366.1 MB Notification: Performance of Templates: time 0.07122/0.547, allocations: 48.35 MB / 0.521 GB, free: 15.66 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches