Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 103.6 kB / 21.18 MB, free: 320 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 214.3 kB / 24.47 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 51.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 49.15 MB / 396.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.006871/0.2662, allocations: 6.831 MB / 403.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005449/0.2716, allocations: 3.102 MB / 406.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.273, allocations: 43.47 kB / 406.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.2751, allocations: 1.019 MB / 407.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.2783, allocations: 1.382 MB / 408.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.2795, allocations: 0.5358 MB / 409.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.2824, allocations: 2.598 MB / 411.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.284, allocations: 1.23 MB / 413.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.2854, allocations: 0.8576 MB / 414 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.2871, allocations: 1.224 MB / 415.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.2875, allocations: 146.8 kB / 415.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2893, allocations: 0.7874 MB / 416.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.2904, allocations: 1.097 MB / 417.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.2915, allocations: 0.9157 MB / 418.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006112/0.2977, allocations: 4.151 MB / 422.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2977, allocations: 0 / 422.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2977, allocations: 0 / 422.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.668e-05/0.2978, allocations: 4 kB / 422.3 MB, free: 9.152 MB / 334.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.006803/0.3046, allocations: 3.028 MB / 425.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3046, allocations: 15.97 kB / 425.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006568/0.3053, allocations: 462.4 kB / 425.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005567/0.3108, allocations: 1.594 MB / 427.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.315, allocations: 1.825 MB / 429.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3152, allocations: 123 kB / 429.3 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/0.3156, allocations: 163.9 kB / 429.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.3264, allocations: 6.526 MB / 436 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.3265, allocations: 43.67 kB / 436 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.3268, allocations: 79.89 kB / 436.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002699/0.3295, allocations: 1.464 MB / 437.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/0.3407, allocations: 5.822 MB / 443.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.3744, allocations: 24.76 MB / 468.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005761/0.3801, allocations: 2.012 MB / 470.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.3819, allocations: 1.129 MB / 471.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009018/0.3909, allocations: 4.299 MB / 475.6 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.391, allocations: 42.56 kB / 475.6 MB, free: 2.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=97): time 4.519e-06/0.391, allocations: 0 / 475.6 MB, free: 2.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=105): time 0.02541/0.4164, allocations: 9.813 MB / 485.5 MB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4165, allocations: 140.9 kB / 485.6 MB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004449/0.421, allocations: 2.894 MB / 488.5 MB, free: 5.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.4212, allocations: 37.7 kB / 488.5 MB, free: 5.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/0.4231, allocations: 2.14 MB / 490.7 MB, free: 3.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006633/0.4237, allocations: 452.6 kB / 491.1 MB, free: 2.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.425, allocations: 0.8338 MB / 491.9 MB, free: 1.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4252, allocations: 305.1 kB / 492.2 MB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.4276, allocations: 1.437 MB / 493.7 MB, free: 132 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005018/0.4326, allocations: 4.065 MB / 497.7 MB, free: 10.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.4407, allocations: 5.949 MB / 0.4919 GB, free: 3.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.4408, allocations: 28 kB / 0.4919 GB, free: 3.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.012/0.4528, allocations: 6.008 MB / 0.4978 GB, free: 13.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.4529, allocations: 47.98 kB / 0.4978 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.453, allocations: 92 kB / 0.4979 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.4555, allocations: 0.8123 MB / 0.4987 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/0.4585, allocations: 0.9475 MB / 0.4996 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006696/0.4652, allocations: 4.525 MB / 0.5041 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.4683, allocations: 240.2 kB / 0.5043 GB, free: 6.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/0.4687, allocations: 260 kB / 0.5045 GB, free: 6.414 MB / 430.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.00245/0.4712, allocations: 1.376 MB / 0.5059 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.4717, allocations: 242.3 kB / 0.5061 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.4764, allocations: 2.123 MB / 0.5082 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.4764, allocations: 12 kB / 0.5082 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4764, allocations: 7.938 kB / 0.5082 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4764, allocations: 11.92 kB / 0.5082 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.4871, allocations: 4.778 MB / 0.5129 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.4871, allocations: 0 / 0.5129 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008534/0.488, allocations: 159.7 kB / 0.513 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.4903, allocations: 0.6757 MB / 0.5137 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.4904, allocations: 19.98 kB / 0.5137 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0058/0.4962, allocations: 4.021 MB / 0.5176 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4962, allocations: 7.922 kB / 0.5176 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007552/0.5038, allocations: 4.064 MB / 0.5216 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.5052, allocations: 390.1 kB / 0.522 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.5056, allocations: 12 kB / 0.522 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5067, allocations: 79.83 kB / 0.5221 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.5069, allocations: 56.27 kB / 0.5221 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.507, allocations: 40.39 kB / 0.5222 GB, free: 4.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003187/0.5102, allocations: 1.706 MB / 0.5238 GB, free: 2.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5102, allocations: 0 / 0.5238 GB, free: 2.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003678/0.5139, allocations: 0.6716 MB / 0.5245 GB, free: 1.73 MB / 446.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.008024/0.5219, allocations: 4.726 MB / 0.5291 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006167/0.5281, allocations: 3.355 MB / 0.5324 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.5281, allocations: 1.062 kB / 0.5324 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.5297, allocations: 0.9577 MB / 0.5333 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.5315, allocations: 261.8 kB / 0.5336 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2279/0.7593, allocations: 30.05 MB / 0.5629 GB, free: 143.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.7617, allocations: 1.674 MB / 0.5645 GB, free: 142.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003076/0.7648, allocations: 1.32 MB / 0.5658 GB, free: 142.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/0.7665, allocations: 1.099 MB / 0.5669 GB, free: 141.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/0.7665, allocations: 3.219 kB / 0.5669 GB, free: 141.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08099/0.8474, allocations: 45.28 MB / 0.6111 GB, free: 105.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.74, allocations: 3.984 kB / 0.6111 GB, free: 105.1 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/UserDefinedGravityField/UserDefinedGravityField.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.41397573519498]