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.001243/0.001243, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001397/0.001397, allocations: 213.2 kB / 24.52 MB, free: 3.91 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 7.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 56.14 kB / 378.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2355, allocations: 53.41 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.008252/0.2438, allocations: 6.72 MB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.2496, allocations: 3.144 MB / 441.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.2503, allocations: 43.81 kB / 441.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.2522, allocations: 1.012 MB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.2548, allocations: 1.351 MB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2559, allocations: 0.5379 MB / 444.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.2589, allocations: 2.632 MB / 447.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2605, allocations: 1.217 MB / 448.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.2617, allocations: 0.8407 MB / 449.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.2633, allocations: 1.258 MB / 450.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002779/0.2636, allocations: 151.9 kB / 450.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.2655, allocations: 0.7877 MB / 451.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.2669, allocations: 1.075 MB / 452.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009844/0.2679, allocations: 0.8962 MB / 453.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.2723, allocations: 4.108 MB / 457.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2723, allocations: 0 / 457.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.2723, allocations: 3.984 kB / 457.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.255e-05/0.2724, allocations: 4 kB / 457.7 MB, free: 12.71 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.006188/0.2786, allocations: 2.99 MB / 460.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.2786, allocations: 8.031 kB / 460.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.726e-05/0.2787, allocations: 67.23 kB / 460.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005165/0.2792, allocations: 462.4 kB / 461.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/0.2845, allocations: 1.602 MB / 462.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.2875, allocations: 1.567 MB / 464.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2876, allocations: 119 kB / 464.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.2879, allocations: 163.8 kB / 464.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008989/0.2969, allocations: 6.534 MB / 471.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.297, allocations: 31.75 kB / 471.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.2972, allocations: 79.89 kB / 471.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002507/0.2997, allocations: 1.48 MB / 472.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009474/0.3092, allocations: 5.818 MB / 478.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02837/0.3375, allocations: 24.74 MB / 0.4915 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005249/0.3428, allocations: 2.009 MB / 0.4935 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3443, allocations: 1.133 MB / 0.4946 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/0.3516, allocations: 4.299 MB / 0.4988 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.3516, allocations: 42.56 kB / 0.4988 GB, free: 6.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 4.048e-06/0.3516, allocations: 0 / 0.4988 GB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=105): time 0.02511/0.3767, allocations: 9.737 MB / 0.5084 GB, free: 12.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.3768, allocations: 137 kB / 0.5085 GB, free: 12.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.3807, allocations: 2.723 MB / 0.5111 GB, free: 9.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002561/0.381, allocations: 41.7 kB / 0.5112 GB, free: 9.391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001818/0.3828, allocations: 2.128 MB / 0.5133 GB, free: 7.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006779/0.3835, allocations: 456.6 kB / 0.5137 GB, free: 6.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.3847, allocations: 0.8299 MB / 0.5145 GB, free: 5.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3849, allocations: 301.1 kB / 0.5148 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.3872, allocations: 1.441 MB / 0.5162 GB, free: 4.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/0.3919, allocations: 4.065 MB / 0.5202 GB, free: 14.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007201/0.3991, allocations: 5.948 MB / 0.526 GB, free: 7.578 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.461e-05/0.3991, allocations: 28 kB / 0.526 GB, free: 7.551 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01147/0.4106, allocations: 6.018 MB / 0.5319 GB, free: 1.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.4107, allocations: 44 kB / 0.5319 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.59e-05/0.4108, allocations: 99.94 kB / 0.532 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.4131, allocations: 0.817 MB / 0.5328 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.4162, allocations: 0.9474 MB / 0.5337 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/0.4227, allocations: 4.513 MB / 0.5381 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.4258, allocations: 239.7 kB / 0.5384 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006932/0.4265, allocations: 264 kB / 0.5386 GB, free: 10.49 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.002574/0.4291, allocations: 1.368 MB / 0.54 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/0.4296, allocations: 238.3 kB / 0.5402 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.4341, allocations: 2.126 MB / 0.5423 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.4342, allocations: 15.94 kB / 0.5423 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4342, allocations: 4 kB / 0.5423 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4342, allocations: 3.984 kB / 0.5423 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/0.4437, allocations: 4.789 MB / 0.547 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4437, allocations: 0 / 0.547 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.4445, allocations: 163.7 kB / 0.5471 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/0.4466, allocations: 0.672 MB / 0.5478 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.4467, allocations: 23.98 kB / 0.5478 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.217/0.6637, allocations: 4.015 MB / 0.5517 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6637, allocations: 1.156 kB / 0.5517 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006735/0.6704, allocations: 4.064 MB / 0.5557 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.671, allocations: 219.4 kB / 0.5559 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/0.6715, allocations: 13.28 kB / 0.5559 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6727, allocations: 73.23 kB / 0.556 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.6729, allocations: 55.95 kB / 0.556 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-05/0.673, allocations: 34.23 kB / 0.5561 GB, free: 113.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002371/0.6753, allocations: 1.696 MB / 0.5577 GB, free: 112.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6753, allocations: 0 / 0.5577 GB, free: 112.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002857/0.6782, allocations: 0.6667 MB / 0.5584 GB, free: 112.6 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.005157/0.6833, allocations: 4.73 MB / 0.563 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003778/0.6871, allocations: 3.344 MB / 0.5663 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6871, allocations: 6.547 kB / 0.5663 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6881, allocations: 0.9608 MB / 0.5672 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6897, allocations: 258 kB / 0.5675 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/0.7218, allocations: 29.95 MB / 0.5967 GB, free: 74.51 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.7235, allocations: 1.658 MB / 0.5983 GB, free: 72.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002372/0.7259, allocations: 1.323 MB / 0.5996 GB, free: 71.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.7271, allocations: 1.101 MB / 0.6007 GB, free: 70.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7271, allocations: 0 / 0.6007 GB, free: 70.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8662/1.593, allocations: 46.61 MB / 0.6462 GB, free: 24.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/20.46, allocations: 8 kB / 0.6462 GB, free: 24.19 MB / 462.1 MB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-08 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.mat","/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: 23.48166016698815]