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.001565/0.001565, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001753/0.001753, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1978/0.1978, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 55.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009914/0.3867, allocations: 8.716 MB / 0.5269 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005712/0.3925, allocations: 2.247 MB / 0.5291 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.3942, allocations: 46.44 kB / 0.5292 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.3975, allocations: 1.531 MB / 0.5307 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.3992, allocations: 476 kB / 0.5311 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3996, allocations: 76.09 kB / 0.5312 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.401, allocations: 0.9413 MB / 0.5321 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.4027, allocations: 1.498 MB / 0.5336 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008507/0.4036, allocations: 0.5435 MB / 0.5341 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4047, allocations: 0.681 MB / 0.5348 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.405, allocations: 119.2 kB / 0.5349 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.4054, allocations: 132.5 kB / 0.535 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007051/0.4061, allocations: 0.733 MB / 0.5357 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.4071, allocations: 0.8586 MB / 0.5366 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4101, allocations: 2.338 MB / 0.5388 GB, free: 5.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4101, allocations: 1.062 kB / 0.5388 GB, free: 5.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.4101, allocations: 0 / 0.5388 GB, free: 5.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.968e-05/0.4102, allocations: 0 / 0.5388 GB, free: 5.414 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003483/0.4137, allocations: 1.965 MB / 0.5408 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.4138, allocations: 9.375 kB / 0.5408 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003791/0.4141, allocations: 333.6 kB / 0.5411 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006906/0.4148, allocations: 213.8 kB / 0.5413 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4162, allocations: 0.7216 MB / 0.542 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.639e-05/0.4163, allocations: 116.1 kB / 0.5421 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4165, allocations: 153.4 kB / 0.5423 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.4208, allocations: 3.384 MB / 0.5456 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.4209, allocations: 15.88 kB / 0.5456 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.421, allocations: 71.94 kB / 0.5456 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000672/0.4217, allocations: 0.6148 MB / 0.5462 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.4245, allocations: 1.858 MB / 0.5481 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.4362, allocations: 13.47 MB / 0.5612 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.4363, allocations: 169.1 kB / 0.5614 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.4363, allocations: 88.08 kB / 0.5615 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.4364, allocations: 83.27 kB / 0.5615 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.4364, allocations: 105.8 kB / 0.5616 GB, free: 14.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.4364, allocations: 3.938 kB / 0.5616 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000274/0.4367, allocations: 152.1 kB / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.4368, allocations: 130.6 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.4386, allocations: 1.651 MB / 0.5635 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.4386, allocations: 25.7 kB / 0.5635 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.4395, allocations: 1.367 MB / 0.5649 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.4395, allocations: 47.89 kB / 0.5649 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.44, allocations: 414.8 kB / 0.5653 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4401, allocations: 361.9 kB / 0.5657 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.4406, allocations: 371.8 kB / 0.566 GB, free: 10.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.442, allocations: 1.929 MB / 0.5679 GB, free: 7.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.4442, allocations: 2.511 MB / 0.5704 GB, free: 4.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.4442, allocations: 16 kB / 0.5704 GB, free: 4.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003071/0.4473, allocations: 2.115 MB / 0.5724 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.4474, allocations: 32 kB / 0.5725 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/0.4474, allocations: 56 kB / 0.5725 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.561e-05/0.4475, allocations: 76.06 kB / 0.5726 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4486, allocations: 491 kB / 0.5731 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.811e-05/0.4487, allocations: 107.6 kB / 0.5732 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.4502, allocations: 324.4 kB / 0.5735 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.4504, allocations: 136 kB / 0.5736 GB, free: 0.9219 MB / 430.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.001224/0.4516, allocations: 0.8705 MB / 0.5745 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.4519, allocations: 227.4 kB / 0.5747 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.4521, allocations: 228.4 kB / 0.5749 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/0.4522, allocations: 180.3 kB / 0.5751 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.546e-05/0.4522, allocations: 180.2 kB / 0.5752 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.4523, allocations: 188.3 kB / 0.5754 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.4542, allocations: 1.481 MB / 0.5769 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.4542, allocations: 104.9 kB / 0.577 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.4543, allocations: 105 kB / 0.5771 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-05/0.4543, allocations: 180.3 kB / 0.5772 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.4544, allocations: 180.2 kB / 0.5774 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.4545, allocations: 184.3 kB / 0.5776 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.4545, allocations: 188.2 kB / 0.5778 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.4548, allocations: 421.3 kB / 0.5782 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.4552, allocations: 296.5 kB / 0.5784 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.4554, allocations: 184.2 kB / 0.5786 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.4557, allocations: 112.9 kB / 0.5787 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.4558, allocations: 176.3 kB / 0.5789 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.4558, allocations: 105 kB / 0.579 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001255/0.4571, allocations: 1.018 MB / 0.58 GB, free: 10.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.4571, allocations: 0 / 0.58 GB, free: 10.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4588, allocations: 438 kB / 0.5804 GB, free: 9.719 MB / 446.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.0006292/0.4595, allocations: 0.94 MB / 0.5813 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.4609, allocations: 0.8959 MB / 0.5822 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4609, allocations: 128 / 0.5822 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-06/0.4609, allocations: 11.94 kB / 0.5822 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008698/0.4618, allocations: 0.5629 MB / 0.5828 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.478, allocations: 13.56 MB / 0.596 GB, free: 7.934 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.4792, allocations: 1.575 MB / 0.5975 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.4803, allocations: 499.4 kB / 0.598 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.481, allocations: 0.6633 MB / 0.5987 GB, free: 5.168 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.481, allocations: 0 / 0.5987 GB, free: 5.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.5289, allocations: 21.95 MB / 0.6201 GB, free: 15.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.72, allocations: 8.969 kB / 0.6201 GB, free: 15.38 MB / 494.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