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.001527/0.001527, allocations: 114.5 kB / 18.41 MB, free: 4.688 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.001678/0.001678, allocations: 190.1 kB / 19.35 MB, free: 3.762 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.326/1.326, allocations: 205.1 MB / 225.2 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.001242/0.001242, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07157/0.07282, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.1557/0.2285, allocations: 7.67 MB / 383.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004738/0.2333, allocations: 3.301 MB / 386.8 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.2338, allocations: 35.75 kB / 386.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.2355, allocations: 1.031 MB / 387.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.2377, allocations: 1.361 MB / 389.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009467/0.2387, allocations: 0.5426 MB / 389.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.2411, allocations: 2.599 MB / 392.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.2425, allocations: 1.394 MB / 393.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008695/0.2433, allocations: 0.8382 MB / 394.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.2446, allocations: 1.155 MB / 395.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.2449, allocations: 151.4 kB / 395.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.2463, allocations: 0.9009 MB / 396.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007715/0.2471, allocations: 1.065 MB / 397.9 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.248, allocations: 1.256 MB / 399.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.2512, allocations: 4.136 MB / 403.3 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2512, allocations: 0 / 403.3 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2513, allocations: 0.9375 kB / 403.3 MB, free: 156 kB / 318.1 MB Notification: Performance of Transformations before backend: time 3.632e-05/0.2513, allocations: 0 / 403.3 MB, free: 156 kB / 318.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.004652/0.256, allocations: 3.09 MB / 406.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.256, allocations: 8.344 kB / 406.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.2611, allocations: 1.593 MB / 408 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.2634, allocations: 1.46 MB / 409.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/0.2635, allocations: 128.1 kB / 409.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.2638, allocations: 164.3 kB / 409.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008183/0.272, allocations: 6.528 MB / 416.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/0.2721, allocations: 39.69 kB / 416.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.2723, allocations: 83.89 kB / 416.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002294/0.2746, allocations: 1.465 MB / 417.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008715/0.2834, allocations: 5.834 MB / 423.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.3074, allocations: 25.71 MB / 449.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/0.3127, allocations: 2.556 MB / 451.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.3142, allocations: 1.215 MB / 453.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006671/0.3209, allocations: 4.808 MB / 457.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3209, allocations: 42.5 kB / 458 MB, free: 11.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 2.685e-06/0.3209, allocations: 0 / 458 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02236/0.3433, allocations: 9.964 MB / 468 MB, free: 1.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3434, allocations: 137.2 kB / 468.1 MB, free: 1.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.3466, allocations: 2.727 MB / 470.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.97e-05/0.3467, allocations: 37.7 kB / 470.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.348, allocations: 2.136 MB / 473 MB, free: 12.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.3484, allocations: 444.6 kB / 473.4 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.3494, allocations: 0.8456 MB / 474.3 MB, free: 11.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.3495, allocations: 301.1 kB / 474.6 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.3516, allocations: 1.445 MB / 476 MB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/0.3552, allocations: 4.073 MB / 480.1 MB, free: 4.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006076/0.3613, allocations: 5.961 MB / 486 MB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.147e-05/0.3613, allocations: 28 kB / 486.1 MB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009794/0.3711, allocations: 6.038 MB / 492.1 MB, free: 6.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.3712, allocations: 44 kB / 492.1 MB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-05/0.3713, allocations: 107.9 kB / 492.3 MB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.3737, allocations: 0.8169 MB / 493.1 MB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/0.3764, allocations: 0.9435 MB / 494 MB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.3822, allocations: 4.664 MB / 498.7 MB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.3848, allocations: 247.8 kB / 498.9 MB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.3851, allocations: 259.9 kB / 499.2 MB, free: 15.51 MB / 430.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.001849/0.387, allocations: 1.368 MB / 0.4888 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/0.3873, allocations: 238.4 kB / 0.489 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.3916, allocations: 2.134 MB / 0.4911 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.3916, allocations: 7.922 kB / 0.4911 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.3916, allocations: 0 / 0.4911 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/0.3924, allocations: 467.2 kB / 0.4916 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.3927, allocations: 12 kB / 0.4916 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.3937, allocations: 75.89 kB / 0.4917 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.3939, allocations: 60.33 kB / 0.4917 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004837/0.3987, allocations: 2.668 MB / 0.4943 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003935/0.4027, allocations: 3.371 MB / 0.4976 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009837/0.4037, allocations: 0.8197 MB / 0.4984 GB, free: 4.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.4059, allocations: 1.705 MB / 0.5001 GB, free: 2.512 MB / 430.1 MB Notification: Performance of Backend: time 4e-07/0.4059, allocations: 0 / 0.5001 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005324/0.4112, allocations: 2.977 MB / 0.503 GB, free: 15.54 MB / 446.1 MB Notification: Performance of SimCode: time 0.008176/0.4194, allocations: 5.964 MB / 0.5088 GB, free: 9.512 MB / 446.1 MB Notification: Performance of Templates: time 0.05099/0.4704, allocations: 30 MB / 0.5381 GB, free: 11.46 MB / 478.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