Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 110.4 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 187 kB / 18.71 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 59.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3718, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006198/0.3781, allocations: 5.418 MB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00383/0.3819, allocations: 1.754 MB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.3824, allocations: 19.19 kB / 0.5254 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.3837, allocations: 0.5231 MB / 0.5259 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.3859, allocations: 0.9133 MB / 0.5268 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.3861, allocations: 14.38 kB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.388, allocations: 1.552 MB / 0.5283 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008937/0.3889, allocations: 0.7491 MB / 0.5291 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.3896, allocations: 0.5238 MB / 0.5296 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.3915, allocations: 1.503 MB / 0.5311 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.3919, allocations: 88.72 kB / 0.5311 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.3927, allocations: 313.2 kB / 0.5314 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.3936, allocations: 0.7187 MB / 0.5321 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009228/0.3945, allocations: 0.8825 MB / 0.533 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.3976, allocations: 2.828 MB / 0.5358 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3976, allocations: 0 / 0.5358 GB, free: 8.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3976, allocations: 3.938 kB / 0.5358 GB, free: 8.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.676e-05/0.3976, allocations: 1.062 kB / 0.5358 GB, free: 8.25 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003283/0.4009, allocations: 2.066 MB / 0.5378 GB, free: 6.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.401, allocations: 13.48 kB / 0.5378 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004253/0.4014, allocations: 377.9 kB / 0.5382 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.4065, allocations: 1.493 MB / 0.5396 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.4087, allocations: 0.8665 MB / 0.5405 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.4088, allocations: 89.53 kB / 0.5405 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.4091, allocations: 109 kB / 0.5407 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00642/0.4155, allocations: 4.985 MB / 0.5455 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.4156, allocations: 19.81 kB / 0.5455 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.4158, allocations: 59.91 kB / 0.5456 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.4176, allocations: 1.185 MB / 0.5468 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006895/0.4245, allocations: 4.25 MB / 0.5509 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.4478, allocations: 20.5 MB / 0.5709 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.4493, allocations: 1.228 MB / 0.5721 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.4499, allocations: 383.5 kB / 0.5725 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4499, allocations: 11.94 kB / 0.5725 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.45, allocations: 42.55 kB / 0.5725 GB, free: 3.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 4.349e-06/0.45, allocations: 0 / 0.5725 GB, free: 3.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.001806/0.4518, allocations: 1.146 MB / 0.5737 GB, free: 1.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.4519, allocations: 140.4 kB / 0.5738 GB, free: 1.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.4558, allocations: 2.436 MB / 0.5762 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.4559, allocations: 37.72 kB / 0.5762 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.4573, allocations: 1.791 MB / 0.578 GB, free: 13.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.4577, allocations: 308.5 kB / 0.5782 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.4588, allocations: 0.7815 MB / 0.579 GB, free: 12.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.459, allocations: 353.9 kB / 0.5794 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4605, allocations: 1.03 MB / 0.5804 GB, free: 11.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/0.4641, allocations: 3.695 MB / 0.584 GB, free: 5.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005666/0.4697, allocations: 5.153 MB / 0.589 GB, free: 15.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.4699, allocations: 28 kB / 0.589 GB, free: 15.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007987/0.4779, allocations: 4.457 MB / 0.5934 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.478, allocations: 44 kB / 0.5934 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/0.4783, allocations: 96 kB / 0.5935 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.4785, allocations: 124 kB / 0.5936 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.4811, allocations: 0.8733 MB / 0.5945 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001828/0.4813, allocations: 191.3 kB / 0.5947 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.4843, allocations: 0.5448 MB / 0.5952 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/0.4848, allocations: 256 kB / 0.5954 GB, free: 8.898 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002076/0.4869, allocations: 1.188 MB / 0.5966 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.4873, allocations: 185.5 kB / 0.5968 GB, free: 7.516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.4878, allocations: 221.8 kB / 0.597 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/0.4879, allocations: 16 kB / 0.597 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.4879, allocations: 0 / 0.597 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4879, allocations: 8.266 kB / 0.597 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/0.4924, allocations: 2.069 MB / 0.599 GB, free: 5.145 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.4924, allocations: 4 kB / 0.599 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.4928, allocations: 67.84 kB / 0.5991 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.4928, allocations: 8.031 kB / 0.5991 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4928, allocations: 11.98 kB / 0.5991 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.4928, allocations: 4 kB / 0.5991 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4928, allocations: 3.938 kB / 0.5991 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.4943, allocations: 1.19 MB / 0.6003 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.4949, allocations: 242.5 kB / 0.6005 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.4953, allocations: 11.98 kB / 0.6005 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.496, allocations: 23.97 kB / 0.6006 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.4961, allocations: 27.91 kB / 0.6006 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.4962, allocations: 24 kB / 0.6006 GB, free: 3.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002848/0.499, allocations: 1.494 MB / 0.6021 GB, free: 1.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4991, allocations: 0 / 0.6021 GB, free: 1.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00338/0.5024, allocations: 0.5301 MB / 0.6026 GB, free: 1.445 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/0.5044, allocations: 1.797 MB / 0.6043 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003738/0.5081, allocations: 2.359 MB / 0.6066 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5081, allocations: 0 / 0.6066 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.5086, allocations: 371.7 kB / 0.607 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5099, allocations: 171.8 kB / 0.6072 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/0.5421, allocations: 23.03 MB / 0.6296 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.5442, allocations: 1.865 MB / 0.6315 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002551/0.5468, allocations: 1.24 MB / 0.6327 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.5479, allocations: 0.7922 MB / 0.6335 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.5479, allocations: 3.938 kB / 0.6335 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.6067, allocations: 30.39 MB / 0.6631 GB, free: 152 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.78, allocations: 11.16 kB / 0.6631 GB, free: 144 kB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches