Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001109/0.001109, allocations: 109.2 kB / 17.75 MB, free: 5.309 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.001002/0.001002, allocations: 188.3 kB / 18.68 MB, free: 4.387 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009528/0.0009529, allocations: 51.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2136, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.007789/0.2214, allocations: 7.62 MB / 409 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004857/0.2263, allocations: 3.341 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004277/0.2267, allocations: 35.94 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.2285, allocations: 1.02 MB / 413.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.2309, allocations: 1.378 MB / 414.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.232, allocations: 0.5379 MB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.2347, allocations: 2.602 MB / 418 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.236, allocations: 1.374 MB / 419.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.2369, allocations: 0.8368 MB / 420.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.2381, allocations: 1.148 MB / 421.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.2384, allocations: 148 kB / 421.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.2398, allocations: 0.9125 MB / 422.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007961/0.2406, allocations: 1.067 MB / 423.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.2416, allocations: 1.246 MB / 424.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.2449, allocations: 4.119 MB / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2449, allocations: 0 / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2449, allocations: 0 / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.749e-05/0.245, allocations: 3.844 kB / 428.8 MB, free: 13.36 MB / 350.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.004345/0.2493, allocations: 2.999 MB / 431.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2494, allocations: 8.031 kB / 431.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.2547, allocations: 1.573 MB / 433.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.2571, allocations: 1.41 MB / 434.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.2572, allocations: 123 kB / 434.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.2576, allocations: 167.8 kB / 435.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0082/0.2658, allocations: 6.538 MB / 441.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.2658, allocations: 27.75 kB / 441.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.2661, allocations: 83.89 kB / 441.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/0.2685, allocations: 1.464 MB / 443.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008872/0.2773, allocations: 5.83 MB / 449 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02575/0.3031, allocations: 25.65 MB / 474.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005553/0.3087, allocations: 2.555 MB / 477.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.3102, allocations: 1.223 MB / 478.5 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007026/0.3172, allocations: 4.815 MB / 483.3 MB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3173, allocations: 42.56 kB / 483.3 MB, free: 5.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 2.865e-06/0.3173, allocations: 0 / 483.3 MB, free: 5.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=105): time 0.02331/0.3406, allocations: 9.791 MB / 493.1 MB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3407, allocations: 137 kB / 493.2 MB, free: 11.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.3439, allocations: 2.714 MB / 495.9 MB, free: 8.398 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.344, allocations: 37.7 kB / 496 MB, free: 8.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.3452, allocations: 2.041 MB / 498 MB, free: 6.285 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.3455, allocations: 430.6 kB / 498.4 MB, free: 5.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009411/0.3465, allocations: 0.837 MB / 499.3 MB, free: 5.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.3466, allocations: 305.1 kB / 499.6 MB, free: 4.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.3486, allocations: 1.452 MB / 0.4893 GB, free: 3.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/0.352, allocations: 4.073 MB / 0.4933 GB, free: 13.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006024/0.3581, allocations: 5.954 MB / 0.4991 GB, free: 6.586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-05/0.3581, allocations: 24 kB / 0.4991 GB, free: 6.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01027/0.3684, allocations: 6.032 MB / 0.505 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.3685, allocations: 51.94 kB / 0.505 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.3686, allocations: 92 kB / 0.5051 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/0.371, allocations: 0.8246 MB / 0.5059 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/0.3738, allocations: 0.9396 MB / 0.5069 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/0.3798, allocations: 4.656 MB / 0.5114 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.3824, allocations: 243.6 kB / 0.5116 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.3828, allocations: 260 kB / 0.5119 GB, free: 9.32 MB / 446.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.001829/0.3846, allocations: 1.368 MB / 0.5132 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.385, allocations: 221.1 kB / 0.5134 GB, free: 7.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004413/0.3895, allocations: 2.142 MB / 0.5155 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.3895, allocations: 3.984 kB / 0.5155 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3895, allocations: 4.562 kB / 0.5155 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.39, allocations: 286 kB / 0.5158 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/0.3903, allocations: 16 kB / 0.5158 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.3914, allocations: 67.89 kB / 0.5159 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.3916, allocations: 68.33 kB / 0.5159 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004965/0.3965, allocations: 2.669 MB / 0.5186 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004026/0.4006, allocations: 3.354 MB / 0.5218 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001037/0.4016, allocations: 0.8153 MB / 0.5226 GB, free: 14.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002455/0.4041, allocations: 1.693 MB / 0.5243 GB, free: 12.54 MB / 462.1 MB Notification: Performance of Backend: time 4.91e-07/0.4041, allocations: 0 / 0.5243 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005568/0.4097, allocations: 2.973 MB / 0.5272 GB, free: 9.566 MB / 462.1 MB Notification: Performance of SimCode: time 0.008473/0.4182, allocations: 5.858 MB / 0.5329 GB, free: 3.652 MB / 462.1 MB Notification: Performance of Templates: time 0.209/0.6272, allocations: 29.97 MB / 0.5622 GB, free: 115.5 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches