Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2405/0.2405, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 82.25 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.129, allocations: 62.44 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.2956/0.4246, allocations: 39.94 MB / 0.5074 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.4402, allocations: 7.228 MB / 0.5144 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008189/0.4484, allocations: 161.4 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.4519, allocations: 1.482 MB / 0.516 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.4536, allocations: 434.4 kB / 0.5164 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.4539, allocations: 62.97 kB / 0.5165 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.4553, allocations: 0.9414 MB / 0.5174 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.4573, allocations: 1.599 MB / 0.519 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.4581, allocations: 0.539 MB / 0.5195 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009472/0.4591, allocations: 0.7509 MB / 0.5202 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.4593, allocations: 119.2 kB / 0.5203 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.4597, allocations: 126.1 kB / 0.5205 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.4605, allocations: 0.7372 MB / 0.5212 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000717/0.4612, allocations: 0.8582 MB / 0.522 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.4634, allocations: 2.225 MB / 0.5242 GB, free: 6.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4634, allocations: 0 / 0.5242 GB, free: 6.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4634, allocations: 4 kB / 0.5242 GB, free: 6.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-05/0.4635, allocations: 1.125 kB / 0.5242 GB, free: 6.531 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.002624/0.4661, allocations: 1.945 MB / 0.5261 GB, free: 5.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4662, allocations: 14.41 kB / 0.5261 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/0.4665, allocations: 328.2 kB / 0.5264 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/0.4671, allocations: 211.7 kB / 0.5266 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.4681, allocations: 0.7227 MB / 0.5273 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.4682, allocations: 121.4 kB / 0.5274 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.4684, allocations: 155.4 kB / 0.5276 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.4723, allocations: 3.371 MB / 0.5309 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.4724, allocations: 18.97 kB / 0.5309 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4725, allocations: 71.53 kB / 0.531 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006596/0.4732, allocations: 0.6187 MB / 0.5316 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.4759, allocations: 1.856 MB / 0.5334 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.4885, allocations: 13.53 MB / 0.5466 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.715e-05/0.4887, allocations: 165.1 kB / 0.5468 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.4887, allocations: 84.12 kB / 0.5468 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.4888, allocations: 89.22 kB / 0.5469 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.4888, allocations: 109.8 kB / 0.547 GB, free: 5.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.4888, allocations: 0 / 0.547 GB, free: 5.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002793/0.4891, allocations: 152.5 kB / 0.5472 GB, free: 5.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.4892, allocations: 126.7 kB / 0.5473 GB, free: 5.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.4911, allocations: 1.643 MB / 0.5489 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4911, allocations: 32.08 kB / 0.5489 GB, free: 4.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.4922, allocations: 1.354 MB / 0.5502 GB, free: 2.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4922, allocations: 44.3 kB / 0.5503 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.4927, allocations: 424.8 kB / 0.5507 GB, free: 2.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4928, allocations: 360.5 kB / 0.551 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.4933, allocations: 365.8 kB / 0.5514 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.4951, allocations: 1.931 MB / 0.5533 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.4978, allocations: 2.514 MB / 0.5557 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-05/0.4978, allocations: 15.91 kB / 0.5557 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00324/0.501, allocations: 2.121 MB / 0.5578 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.5011, allocations: 31.16 kB / 0.5578 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/0.5012, allocations: 64 kB / 0.5579 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-05/0.5012, allocations: 72 kB / 0.558 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5024, allocations: 490.8 kB / 0.5584 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-05/0.5025, allocations: 119.4 kB / 0.5586 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.5041, allocations: 316.5 kB / 0.5589 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.5042, allocations: 140 kB / 0.559 GB, free: 9.684 MB / 414.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.001199/0.5054, allocations: 0.8589 MB / 0.5598 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.5056, allocations: 235.2 kB / 0.5601 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.5058, allocations: 224.5 kB / 0.5603 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.5059, allocations: 176.3 kB / 0.5604 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.506, allocations: 180.2 kB / 0.5606 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/0.506, allocations: 180.3 kB / 0.5608 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.5077, allocations: 1.481 MB / 0.5622 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/0.5078, allocations: 108.9 kB / 0.5623 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.5078, allocations: 101 kB / 0.5624 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/0.5079, allocations: 184.2 kB / 0.5626 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.508, allocations: 180.3 kB / 0.5628 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.247e-05/0.508, allocations: 184.2 kB / 0.563 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.5081, allocations: 176.5 kB / 0.5631 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.5083, allocations: 433.2 kB / 0.5635 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.5086, allocations: 296.4 kB / 0.5638 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.5088, allocations: 188.2 kB / 0.564 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.5091, allocations: 109 kB / 0.5641 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.5092, allocations: 176.3 kB / 0.5643 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.5092, allocations: 104.9 kB / 0.5644 GB, free: 3.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.5105, allocations: 1.014 MB / 0.5654 GB, free: 2.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5105, allocations: 0 / 0.5654 GB, free: 2.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001586/0.5121, allocations: 434.1 kB / 0.5658 GB, free: 2.504 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.0005544/0.5126, allocations: 0.9322 MB / 0.5667 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.5139, allocations: 0.9077 MB / 0.5676 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5139, allocations: 0 / 0.5676 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.5139, allocations: 0 / 0.5676 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008844/0.5148, allocations: 0.581 MB / 0.5681 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.5326, allocations: 15.11 MB / 0.5829 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.534, allocations: 1.579 MB / 0.5844 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001238/0.5353, allocations: 499.2 kB / 0.5849 GB, free: 12.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/0.536, allocations: 0.6633 MB / 0.5856 GB, free: 12.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.536, allocations: 4 kB / 0.5856 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/0.5761, allocations: 21.06 MB / 0.6061 GB, free: 7.133 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.5763, allocations: 200.2 kB / 0.6063 GB, free: 6.875 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.889, allocations: 0 / 0.6063 GB, free: 6.875 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches