Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.00187, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.206, allocations: 50.54 MB / 409.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.007809/0.2138, allocations: 7.603 MB / 417.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004876/0.2187, allocations: 3.352 MB / 420.9 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003728/0.2191, allocations: 39.88 kB / 420.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.2209, allocations: 1.012 MB / 421.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.2231, allocations: 1.339 MB / 423.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.224, allocations: 0.5418 MB / 423.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.2265, allocations: 2.625 MB / 426.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.2278, allocations: 1.374 MB / 427.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.2285, allocations: 0.8289 MB / 428.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.2297, allocations: 1.145 MB / 429.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.2299, allocations: 152 kB / 429.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.2314, allocations: 0.8892 MB / 430.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.2323, allocations: 1.052 MB / 431.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009668/0.2333, allocations: 1.23 MB / 433.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.2366, allocations: 4.092 MB / 437.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2366, allocations: 0 / 437.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2367, allocations: 0 / 437.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.744e-05/0.2367, allocations: 0 / 437.2 MB, free: 6.344 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.004547/0.2412, allocations: 2.984 MB / 440.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2413, allocations: 12.02 kB / 440.2 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.2468, allocations: 1.561 MB / 441.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002429/0.2492, allocations: 1.386 MB / 443.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.235e-05/0.2493, allocations: 123 kB / 443.3 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.2496, allocations: 167.8 kB / 443.4 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008227/0.2579, allocations: 6.534 MB / 450 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.2579, allocations: 31.72 kB / 450 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.2582, allocations: 83.89 kB / 450.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002441/0.2606, allocations: 1.464 MB / 451.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008817/0.2695, allocations: 5.834 MB / 457.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.2936, allocations: 25.65 MB / 483 MB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/0.299, allocations: 2.54 MB / 485.6 MB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3006, allocations: 1.223 MB / 486.8 MB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006994/0.3076, allocations: 4.807 MB / 491.6 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3076, allocations: 42.55 kB / 491.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.966e-06/0.3076, allocations: 0 / 491.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02356/0.3312, allocations: 9.796 MB / 0.4897 GB, free: 4.332 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3313, allocations: 137 kB / 0.4898 GB, free: 4.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.3344, allocations: 2.702 MB / 0.4925 GB, free: 1.445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.3345, allocations: 37.7 kB / 0.4925 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.3358, allocations: 2.044 MB / 0.4945 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.3361, allocations: 427 kB / 0.4949 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000988/0.3371, allocations: 0.837 MB / 0.4957 GB, free: 14.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.3372, allocations: 305.1 kB / 0.496 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.3393, allocations: 1.452 MB / 0.4974 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/0.3429, allocations: 4.065 MB / 0.5014 GB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006086/0.349, allocations: 5.969 MB / 0.5072 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/0.3491, allocations: 24 kB / 0.5072 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01003/0.3591, allocations: 6.028 MB / 0.5131 GB, free: 9.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.3592, allocations: 47.94 kB / 0.5132 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-05/0.3593, allocations: 96 kB / 0.5133 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.3617, allocations: 0.8245 MB / 0.5141 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.3646, allocations: 0.9474 MB / 0.515 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00628/0.3709, allocations: 4.659 MB / 0.5195 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.3737, allocations: 243.6 kB / 0.5198 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/0.3742, allocations: 260 kB / 0.52 GB, free: 2.355 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.001874/0.3761, allocations: 1.372 MB / 0.5214 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.3765, allocations: 221.1 kB / 0.5216 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.3809, allocations: 2.134 MB / 0.5237 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3809, allocations: 7.984 kB / 0.5237 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3809, allocations: 0 / 0.5237 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.3813, allocations: 290 kB / 0.5239 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3816, allocations: 12 kB / 0.524 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000979/0.3826, allocations: 75.89 kB / 0.524 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.3828, allocations: 56.34 kB / 0.5241 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004861/0.3876, allocations: 2.662 MB / 0.5267 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003897/0.3915, allocations: 3.354 MB / 0.53 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001024/0.3926, allocations: 0.8198 MB / 0.5308 GB, free: 7.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002201/0.3948, allocations: 1.689 MB / 0.5324 GB, free: 5.578 MB / 462.1 MB Notification: Performance of Backend: time 1.854e-06/0.3948, allocations: 0 / 0.5324 GB, free: 5.578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005193/0.4, allocations: 2.987 MB / 0.5353 GB, free: 2.602 MB / 462.1 MB Notification: Performance of SimCode: time 0.1721/0.5721, allocations: 5.833 MB / 0.541 GB, free: 125.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03956/0.6117, allocations: 29.86 MB / 0.5702 GB, free: 103.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches