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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001893/0.001893, allocations: 89.45 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.356e-05, allocations: 3.281 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008967/0.008991, allocations: 6.751 MB / 331.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006907/0.0159, allocations: 3.166 MB / 335 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.01672, allocations: 43.91 kB / 335 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.01901, allocations: 1.068 MB / 336.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.02208, allocations: 1.398 MB / 337.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.02333, allocations: 0.584 MB / 338 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003559/0.02688, allocations: 2.968 MB / 341 MB, free: 5.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.02873, allocations: 1.458 MB / 342.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.03053, allocations: 1.29 MB / 343.8 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.03253, allocations: 1.329 MB / 345.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.03284, allocations: 152 kB / 345.2 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.03456, allocations: 0.8265 MB / 346.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.03566, allocations: 1.122 MB / 347.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.03655, allocations: 0.6695 MB / 347.9 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005401/0.04195, allocations: 4.096 MB / 352 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.04196, allocations: 4 kB / 352 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.04196, allocations: 0 / 352 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.04207, allocations: 0 / 352 MB, free: 10.03 MB / 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.006623/0.04869, allocations: 3.001 MB / 355 MB, free: 6.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.04873, allocations: 11.98 kB / 355 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006234/0.05497, allocations: 1.653 MB / 356.6 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.05781, allocations: 1.321 MB / 357.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.05792, allocations: 123.3 kB / 358.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.0583, allocations: 167.8 kB / 358.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.06929, allocations: 6.546 MB / 364.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.06937, allocations: 31.75 kB / 364.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.06964, allocations: 79.89 kB / 364.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002749/0.07239, allocations: 1.464 MB / 366.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.08348, allocations: 5.845 MB / 372.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.1143, allocations: 24.3 MB / 396.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006021/0.1204, allocations: 2.067 MB / 398.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.1221, allocations: 1.14 MB / 399.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008114/0.1302, allocations: 4.347 MB / 404 MB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.1302, allocations: 46.55 kB / 404.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=97): time 3.707e-06/0.1302, allocations: 0 / 404.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=105): time 0.02683/0.1571, allocations: 10.01 MB / 414.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.1572, allocations: 137 kB / 414.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.1608, allocations: 2.615 MB / 416.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.1609, allocations: 41.7 kB / 416.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.1625, allocations: 2.128 MB / 419 MB, free: 5.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.1629, allocations: 440.7 kB / 419.4 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.164, allocations: 0.8338 MB / 420.3 MB, free: 4.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1642, allocations: 353.9 kB / 420.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/0.1666, allocations: 1.46 MB / 422.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00473/0.1713, allocations: 4.077 MB / 426.2 MB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007702/0.179, allocations: 5.97 MB / 432.1 MB, free: 5.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/0.1791, allocations: 28 kB / 432.2 MB, free: 5.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01218/0.1913, allocations: 6.026 MB / 438.2 MB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/0.1914, allocations: 48 kB / 438.2 MB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.1915, allocations: 92 kB / 438.3 MB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.1942, allocations: 0.8282 MB / 439.1 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.198, allocations: 0.9514 MB / 440.1 MB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00714/0.2051, allocations: 4.514 MB / 444.6 MB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.2092, allocations: 299.6 kB / 444.9 MB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006751/0.2099, allocations: 260 kB / 445.2 MB, free: 8.457 MB / 414.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.002535/0.2124, allocations: 1.368 MB / 446.5 MB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/0.2129, allocations: 206.6 kB / 446.7 MB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004796/0.2177, allocations: 2.113 MB / 448.8 MB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.2177, allocations: 12 kB / 448.9 MB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2177, allocations: 4 kB / 448.9 MB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.2178, allocations: 7.922 kB / 448.9 MB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009741/0.2275, allocations: 4.376 MB / 453.2 MB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.2275, allocations: 0 / 453.2 MB, free: 296 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.2284, allocations: 159.7 kB / 453.4 MB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002468/0.2308, allocations: 0.6833 MB / 454.1 MB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/0.2309, allocations: 16 kB / 454.1 MB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.2379, allocations: 4.015 MB / 458.1 MB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2379, allocations: 0 / 458.1 MB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007469/0.2454, allocations: 4.039 MB / 462.2 MB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006508/0.246, allocations: 210.5 kB / 462.4 MB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.2462, allocations: 16 kB / 462.4 MB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.2474, allocations: 108 kB / 462.5 MB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.2476, allocations: 64.33 kB / 462.5 MB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.2477, allocations: 35.98 kB / 462.6 MB, free: 6.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002552/0.2503, allocations: 1.513 MB / 464.1 MB, free: 5.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2503, allocations: 0 / 464.1 MB, free: 5.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003255/0.2536, allocations: 0.7419 MB / 464.8 MB, free: 4.547 MB / 430.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.0005374/0.2541, allocations: 230.6 kB / 465.1 MB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00567/0.2598, allocations: 3.361 MB / 468.4 MB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2598, allocations: 0 / 468.4 MB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1519/0.4117, allocations: 0.9596 MB / 469.4 MB, free: 129.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.4136, allocations: 220.8 kB / 469.6 MB, free: 129.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.422, allocations: 5.665 MB / 475.3 MB, free: 127.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.4242, allocations: 1.663 MB / 476.9 MB, free: 127.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002599/0.4268, allocations: 1.303 MB / 478.2 MB, free: 127.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.4272, allocations: 154.2 kB / 478.4 MB, free: 127.2 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4272, allocations: 1.156 kB / 478.4 MB, free: 127.2 MB / 430.1 MB Notification: Performance of Templates: time 0.03562/0.4629, allocations: 20.67 MB / 499 MB, free: 113.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7876784689724445]