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.001389/0.001389, allocations: 107 kB / 17.33 MB, free: 6.023 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.001563/0.001563, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.387/1.387, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2074/0.2074, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.48 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03773/0.1517, allocations: 40.23 MB / 0.4971 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2765/0.4282, allocations: 7.279 MB / 0.5042 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009393/0.4377, allocations: 161.9 kB / 0.5044 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.4411, allocations: 1.469 MB / 0.5058 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.4426, allocations: 437.5 kB / 0.5062 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.4429, allocations: 69.89 kB / 0.5063 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.4441, allocations: 0.9545 MB / 0.5072 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.446, allocations: 1.609 MB / 0.5088 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007792/0.4468, allocations: 0.541 MB / 0.5093 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.4479, allocations: 0.7547 MB / 0.5101 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.4481, allocations: 119.8 kB / 0.5102 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.4484, allocations: 124.5 kB / 0.5103 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007547/0.4492, allocations: 0.7452 MB / 0.511 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000752/0.4499, allocations: 0.868 MB / 0.5119 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.4526, allocations: 2.241 MB / 0.5141 GB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4526, allocations: 2.906 kB / 0.5141 GB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4526, allocations: 0 / 0.5141 GB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.607e-05/0.4527, allocations: 0 / 0.5141 GB, free: 9.449 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.003446/0.4561, allocations: 1.964 MB / 0.516 GB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4562, allocations: 9.594 kB / 0.516 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004386/0.4566, allocations: 337.2 kB / 0.5163 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007155/0.4573, allocations: 210.6 kB / 0.5165 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.4583, allocations: 0.7224 MB / 0.5172 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.4584, allocations: 116.2 kB / 0.5173 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.4586, allocations: 150.1 kB / 0.5175 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.463, allocations: 3.382 MB / 0.5208 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.746e-05/0.4631, allocations: 13.47 kB / 0.5208 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.4633, allocations: 74.81 kB / 0.5209 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/0.4644, allocations: 0.6199 MB / 0.5215 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/0.4687, allocations: 1.863 MB / 0.5233 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.4827, allocations: 13.52 MB / 0.5365 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4829, allocations: 175.9 kB / 0.5366 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.4829, allocations: 85.66 kB / 0.5367 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.483, allocations: 78.47 kB / 0.5368 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/0.4831, allocations: 116.4 kB / 0.5369 GB, free: 10.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.615e-06/0.4831, allocations: 0 / 0.5369 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003282/0.4834, allocations: 146.4 kB / 0.5371 GB, free: 10.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.4835, allocations: 126.7 kB / 0.5372 GB, free: 10.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.4864, allocations: 1.653 MB / 0.5388 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4864, allocations: 25.7 kB / 0.5388 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.4877, allocations: 1.369 MB / 0.5402 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.378e-05/0.4877, allocations: 43.55 kB / 0.5402 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/0.4885, allocations: 423 kB / 0.5406 GB, free: 8.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002482/0.4888, allocations: 354.5 kB / 0.5409 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.4896, allocations: 373.7 kB / 0.5413 GB, free: 7.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002401/0.492, allocations: 1.932 MB / 0.5432 GB, free: 5.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.4949, allocations: 2.509 MB / 0.5456 GB, free: 2.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.771e-05/0.495, allocations: 17.59 kB / 0.5456 GB, free: 2.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003233/0.4982, allocations: 2.113 MB / 0.5477 GB, free: 1.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.4983, allocations: 29.84 kB / 0.5477 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/0.4983, allocations: 56.75 kB / 0.5478 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.229e-05/0.4984, allocations: 73.56 kB / 0.5479 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.4995, allocations: 496.2 kB / 0.5483 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-05/0.4996, allocations: 108.7 kB / 0.5484 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.5011, allocations: 321.6 kB / 0.5487 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.5013, allocations: 138.6 kB / 0.5489 GB, free: 1.613 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.00133/0.5026, allocations: 0.8662 MB / 0.5497 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.5028, allocations: 231.2 kB / 0.5499 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.503, allocations: 225.9 kB / 0.5502 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/0.5031, allocations: 185.6 kB / 0.5503 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-05/0.5032, allocations: 180.3 kB / 0.5505 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/0.5033, allocations: 181 kB / 0.5507 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.5054, allocations: 1.482 MB / 0.5521 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-05/0.5055, allocations: 103.9 kB / 0.5522 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5057, allocations: 111.8 kB / 0.5523 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.5058, allocations: 180.2 kB / 0.5525 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.5059, allocations: 179.2 kB / 0.5527 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-05/0.506, allocations: 180.2 kB / 0.5528 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001154/0.5061, allocations: 187.2 kB / 0.553 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.5065, allocations: 424.1 kB / 0.5534 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.5069, allocations: 296.5 kB / 0.5537 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.5071, allocations: 179.1 kB / 0.5539 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.5076, allocations: 104.7 kB / 0.554 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.5078, allocations: 184.3 kB / 0.5542 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.5078, allocations: 111.3 kB / 0.5543 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.5096, allocations: 1.014 MB / 0.5553 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5096, allocations: 0 / 0.5553 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002474/0.5121, allocations: 430.1 kB / 0.5557 GB, free: 11.05 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.0007224/0.5128, allocations: 0.9469 MB / 0.5566 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.5147, allocations: 0.905 MB / 0.5575 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5148, allocations: 0 / 0.5575 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.5148, allocations: 0 / 0.5575 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5161, allocations: 0.579 MB / 0.558 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/0.5455, allocations: 15.16 MB / 0.5728 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/0.5481, allocations: 1.579 MB / 0.5744 GB, free: 5.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.5501, allocations: 495.4 kB / 0.5749 GB, free: 5.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.5514, allocations: 0.6633 MB / 0.5755 GB, free: 4.785 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.5514, allocations: 0 / 0.5755 GB, free: 4.785 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.6053, allocations: 21.13 MB / 0.5961 GB, free: 15.86 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.6056, allocations: 207.3 kB / 0.5963 GB, free: 15.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.876, allocations: 3.938 kB / 0.5963 GB, free: 15.59 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