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.001399/0.001399, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.00152/0.00152, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 67.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2707, allocations: 53.41 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.009412/0.2802, allocations: 7.653 MB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006545/0.2867, allocations: 3.395 MB / 442.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008823/0.2876, allocations: 43.81 kB / 442.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.2897, allocations: 1.051 MB / 443.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.2929, allocations: 1.343 MB / 444.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.2942, allocations: 0.5418 MB / 445.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003465/0.2976, allocations: 2.628 MB / 447.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.2992, allocations: 1.22 MB / 449.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.3005, allocations: 0.8368 MB / 449.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.3023, allocations: 1.261 MB / 451.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.3026, allocations: 148 kB / 451.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3044, allocations: 0.9243 MB / 452.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.3055, allocations: 1.079 MB / 453.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.3067, allocations: 1.238 MB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005419/0.3122, allocations: 4.101 MB / 458.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.3122, allocations: 7.938 kB / 458.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3122, allocations: 4 kB / 458.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.3123, allocations: 0 / 458.7 MB, free: 11.24 MB / 366.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.005796/0.3181, allocations: 2.993 MB / 461.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3181, allocations: 12.03 kB / 461.7 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005263/0.3187, allocations: 458.4 kB / 462.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005217/0.3239, allocations: 1.602 MB / 463.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/0.3271, allocations: 1.547 MB / 465.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.3272, allocations: 123 kB / 465.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.3276, allocations: 163.8 kB / 465.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009806/0.3374, allocations: 6.534 MB / 472.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/0.3374, allocations: 31.75 kB / 472.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.3377, allocations: 79.89 kB / 472.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/0.3403, allocations: 1.476 MB / 473.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.3512, allocations: 5.83 MB / 479.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.3847, allocations: 25.62 MB / 0.4933 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005485/0.3902, allocations: 2.02 MB / 0.4953 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.3918, allocations: 1.129 MB / 0.4964 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007908/0.3997, allocations: 4.541 MB / 0.5008 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3998, allocations: 50.5 kB / 0.5008 GB, free: 3.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 3.236e-06/0.3998, allocations: 0 / 0.5008 GB, free: 3.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.0241/0.4239, allocations: 9.696 MB / 0.5103 GB, free: 9.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.424, allocations: 137 kB / 0.5104 GB, free: 9.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.4279, allocations: 2.719 MB / 0.5131 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002208/0.4281, allocations: 41.7 kB / 0.5131 GB, free: 6.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.4297, allocations: 2.128 MB / 0.5152 GB, free: 4.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.4303, allocations: 448.6 kB / 0.5156 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.4313, allocations: 0.8302 MB / 0.5165 GB, free: 3.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4314, allocations: 309.1 kB / 0.5167 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.4336, allocations: 1.433 MB / 0.5181 GB, free: 1.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004474/0.4381, allocations: 4.076 MB / 0.5221 GB, free: 12.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007592/0.4457, allocations: 5.942 MB / 0.5279 GB, free: 5.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.625e-05/0.4458, allocations: 32 kB / 0.528 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01143/0.4572, allocations: 6.014 MB / 0.5338 GB, free: 15.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.4573, allocations: 44 kB / 0.5339 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.4574, allocations: 92 kB / 0.534 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.4598, allocations: 0.8123 MB / 0.5348 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/0.4627, allocations: 0.9474 MB / 0.5357 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006493/0.4692, allocations: 4.571 MB / 0.5401 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/0.4722, allocations: 239.7 kB / 0.5404 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004697/0.4727, allocations: 264 kB / 0.5406 GB, free: 7.953 MB / 462.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 (498): * Single equations (assignments): 494 * 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.002178/0.4748, allocations: 1.364 MB / 0.542 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004603/0.4753, allocations: 238.3 kB / 0.5422 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/0.4798, allocations: 2.118 MB / 0.5443 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.4799, allocations: 16 kB / 0.5443 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4799, allocations: 0 / 0.5443 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.4799, allocations: 7.984 kB / 0.5443 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2313/0.7112, allocations: 5.034 MB / 0.5492 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.7112, allocations: 5.656 kB / 0.5492 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/0.7121, allocations: 156.5 kB / 0.5493 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/0.7143, allocations: 0.6795 MB / 0.55 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.7145, allocations: 22 kB / 0.55 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.7192, allocations: 4.052 MB / 0.554 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7193, allocations: 1.562 kB / 0.554 GB, free: 112.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005561/0.7248, allocations: 4.062 MB / 0.558 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.7255, allocations: 220.2 kB / 0.5582 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.7258, allocations: 12.94 kB / 0.5582 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.7267, allocations: 70.14 kB / 0.5582 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.7269, allocations: 61.73 kB / 0.5583 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.727, allocations: 38.33 kB / 0.5583 GB, free: 111 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.729, allocations: 1.692 MB / 0.56 GB, free: 110.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.729, allocations: 0 / 0.56 GB, free: 110.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002998/0.732, allocations: 0.6614 MB / 0.5606 GB, free: 110.3 MB / 462.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.005481/0.7375, allocations: 4.743 MB / 0.5653 GB, free: 108.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.7418, allocations: 3.336 MB / 0.5685 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7418, allocations: 0 / 0.5685 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7428, allocations: 0.968 MB / 0.5695 GB, free: 105.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7445, allocations: 250.4 kB / 0.5697 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/0.7774, allocations: 29.96 MB / 0.599 GB, free: 72.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.779, allocations: 2.232 MB / 0.6011 GB, free: 70.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002284/0.7813, allocations: 1.314 MB / 0.6024 GB, free: 68.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.7824, allocations: 1.101 MB / 0.6035 GB, free: 67.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7824, allocations: 0 / 0.6035 GB, free: 67.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08188/0.8643, allocations: 48.32 MB / 0.6507 GB, free: 19.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.36/20.23, allocations: 14.41 kB / 0.6507 GB, free: 19.51 MB / 462.1 MB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.81955233899862]