Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",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.001188/0.001188, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001225/0.001225, allocations: 194 kB / 18.12 MB, free: 5.363 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2065/0.2065, allocations: 44.17 MB / 336.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.16 kB / 407.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1246, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.04008/0.1647, allocations: 40.22 MB / 0.4969 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2544/0.4192, allocations: 7.309 MB / 0.5041 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009416/0.4286, allocations: 160.7 kB / 0.5042 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.4332, allocations: 1.53 MB / 0.5057 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.4352, allocations: 441.8 kB / 0.5061 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.4357, allocations: 71.09 kB / 0.5062 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.4386, allocations: 1.62 MB / 0.5078 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.4414, allocations: 1.577 MB / 0.5093 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.4427, allocations: 0.5045 MB / 0.5098 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.4445, allocations: 0.7465 MB / 0.5105 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005935/0.4451, allocations: 108.7 kB / 0.5106 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008355/0.446, allocations: 119.5 kB / 0.5108 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.4473, allocations: 0.7376 MB / 0.5115 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.4492, allocations: 0.8542 MB / 0.5123 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003979/0.4532, allocations: 2.22 MB / 0.5145 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4532, allocations: 0.5312 kB / 0.5145 GB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.4532, allocations: 0.625 kB / 0.5145 GB, free: 9.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001312/0.4534, allocations: 0 / 0.5145 GB, free: 9.348 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.006579/0.46, allocations: 1.957 MB / 0.5164 GB, free: 8.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.46, allocations: 12.31 kB / 0.5164 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.4611, allocations: 329.1 kB / 0.5167 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.4623, allocations: 211.5 kB / 0.5169 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.4642, allocations: 0.7247 MB / 0.5176 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.4644, allocations: 117.6 kB / 0.5177 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/0.4648, allocations: 147.2 kB / 0.5179 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006792/0.4716, allocations: 3.38 MB / 0.5212 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-05/0.4717, allocations: 15.44 kB / 0.5212 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.472, allocations: 72.73 kB / 0.5213 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/0.4731, allocations: 0.6172 MB / 0.5219 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004589/0.4777, allocations: 1.869 MB / 0.5237 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.4922, allocations: 13.53 MB / 0.5369 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.4923, allocations: 172.1 kB / 0.5371 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.4924, allocations: 80.14 kB / 0.5371 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.4924, allocations: 77.72 kB / 0.5372 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.4925, allocations: 117.8 kB / 0.5373 GB, free: 10.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.4925, allocations: 0 / 0.5373 GB, free: 10.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.000358/0.4929, allocations: 150.5 kB / 0.5375 GB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.4929, allocations: 130.7 kB / 0.5376 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.4955, allocations: 1.652 MB / 0.5392 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4956, allocations: 28.2 kB / 0.5392 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/0.4965, allocations: 1.36 MB / 0.5406 GB, free: 8.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.4966, allocations: 45.95 kB / 0.5406 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.4971, allocations: 419.6 kB / 0.541 GB, free: 7.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4973, allocations: 360.4 kB / 0.5414 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.4978, allocations: 370.8 kB / 0.5417 GB, free: 7.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.4995, allocations: 1.934 MB / 0.5436 GB, free: 4.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.502, allocations: 2.507 MB / 0.546 GB, free: 2.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.276e-05/0.502, allocations: 18.97 kB / 0.5461 GB, free: 2.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003371/0.5054, allocations: 2.116 MB / 0.5481 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.5055, allocations: 28.59 kB / 0.5482 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.189e-05/0.5056, allocations: 56.28 kB / 0.5482 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-05/0.5056, allocations: 75.56 kB / 0.5483 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.5068, allocations: 488.1 kB / 0.5487 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-05/0.5069, allocations: 112.2 kB / 0.5489 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.5084, allocations: 316.8 kB / 0.5492 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.5086, allocations: 137.9 kB / 0.5493 GB, free: 1.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001238/0.5098, allocations: 0.8715 MB / 0.5501 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.5101, allocations: 230 kB / 0.5504 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.5104, allocations: 231.2 kB / 0.5506 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/0.5106, allocations: 180.3 kB / 0.5508 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.942e-05/0.5106, allocations: 187 kB / 0.5509 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001543/0.5108, allocations: 176.3 kB / 0.5511 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.5131, allocations: 1.476 MB / 0.5525 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.822e-05/0.5132, allocations: 110.3 kB / 0.5526 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.5133, allocations: 112.9 kB / 0.5528 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-05/0.5133, allocations: 178.9 kB / 0.5529 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.5135, allocations: 180.3 kB / 0.5531 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.792e-05/0.5136, allocations: 183 kB / 0.5533 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.694e-05/0.5136, allocations: 182.8 kB / 0.5534 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004517/0.5141, allocations: 427.9 kB / 0.5539 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.5146, allocations: 299.2 kB / 0.5541 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002806/0.5148, allocations: 180.3 kB / 0.5543 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.5154, allocations: 107.6 kB / 0.5544 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.5154, allocations: 180.2 kB / 0.5546 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5155, allocations: 111.7 kB / 0.5547 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.5169, allocations: 1.018 MB / 0.5557 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.517, allocations: 0 / 0.5557 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001912/0.5189, allocations: 434.1 kB / 0.5561 GB, free: 10.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0007734/0.5197, allocations: 0.9406 MB / 0.557 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.5212, allocations: 0.899 MB / 0.5579 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5212, allocations: 0 / 0.5579 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.468e-06/0.5212, allocations: 3.984 kB / 0.5579 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5223, allocations: 0.6454 MB / 0.5585 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.5436, allocations: 15.15 MB / 0.5733 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.5455, allocations: 1.583 MB / 0.5749 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001264/0.5468, allocations: 497.6 kB / 0.5753 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/0.5476, allocations: 0.6633 MB / 0.576 GB, free: 4.156 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5476, allocations: 4 kB / 0.576 GB, free: 4.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.5877, allocations: 20.81 MB / 0.5963 GB, free: 15.53 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.5879, allocations: 200.7 kB / 0.5965 GB, free: 15.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/2.912, allocations: 0 / 0.5965 GB, free: 15.27 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches