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.0007426/0.0007426, allocations: 93.56 kB / 17.35 MB, free: 6.371 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.0007623/0.0007623, allocations: 171.6 kB / 18.25 MB, free: 5.523 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.253/1.253, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1883/0.1883, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09823, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.03537/0.1336, allocations: 39.11 MB / 0.4995 GB, free: 6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2255/0.3592, allocations: 7.286 MB / 0.5066 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004866/0.3641, allocations: 162.8 kB / 0.5067 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.3647, allocations: 180.4 kB / 0.5069 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.3657, allocations: 439.8 kB / 0.5073 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.366, allocations: 65.81 kB / 0.5074 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.3675, allocations: 1.627 MB / 0.509 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.3696, allocations: 1.878 MB / 0.5108 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.3701, allocations: 365.5 kB / 0.5112 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.3708, allocations: 0.5604 MB / 0.5117 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.3709, allocations: 44.91 kB / 0.5118 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.3711, allocations: 60.52 kB / 0.5118 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005339/0.3717, allocations: 0.6472 MB / 0.5125 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000541/0.3722, allocations: 0.7696 MB / 0.5132 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.3742, allocations: 2.132 MB / 0.5153 GB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3742, allocations: 0 / 0.5153 GB, free: 9.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3742, allocations: 1.5 kB / 0.5153 GB, free: 9.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.3742, allocations: 0 / 0.5153 GB, free: 9.277 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.00179/0.376, allocations: 1.618 MB / 0.5169 GB, free: 8.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3761, allocations: 9.125 kB / 0.5169 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003084/0.3764, allocations: 329.6 kB / 0.5172 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.3769, allocations: 219.3 kB / 0.5174 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.3778, allocations: 0.7174 MB / 0.5181 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3779, allocations: 116.1 kB / 0.5182 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.3781, allocations: 152.5 kB / 0.5184 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.3821, allocations: 3.378 MB / 0.5217 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.3821, allocations: 17.56 kB / 0.5217 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.3822, allocations: 73.08 kB / 0.5217 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006249/0.3829, allocations: 0.6187 MB / 0.5223 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.3855, allocations: 1.858 MB / 0.5242 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008196/0.3937, allocations: 13.52 MB / 0.5374 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.3938, allocations: 169.7 kB / 0.5375 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.3938, allocations: 84.14 kB / 0.5376 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3939, allocations: 78.38 kB / 0.5377 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.3939, allocations: 123.9 kB / 0.5378 GB, free: 11.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.3939, allocations: 3.938 kB / 0.5378 GB, free: 11.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001925/0.3941, allocations: 148.9 kB / 0.5379 GB, free: 11.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3942, allocations: 126.7 kB / 0.5381 GB, free: 11.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/0.3959, allocations: 1.657 MB / 0.5397 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.396, allocations: 28.7 kB / 0.5397 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007754/0.3968, allocations: 1.355 MB / 0.541 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3968, allocations: 53.62 kB / 0.5411 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.397, allocations: 185.1 kB / 0.5413 GB, free: 8.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3971, allocations: 354.2 kB / 0.5416 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.3975, allocations: 371.4 kB / 0.542 GB, free: 8.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3989, allocations: 1.924 MB / 0.5438 GB, free: 5.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.4009, allocations: 2.514 MB / 0.5463 GB, free: 3.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.401, allocations: 18.59 kB / 0.5463 GB, free: 3.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002503/0.4035, allocations: 2.11 MB / 0.5484 GB, free: 2.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.4035, allocations: 40.72 kB / 0.5484 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/0.4036, allocations: 55.72 kB / 0.5485 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.675e-05/0.4036, allocations: 76.06 kB / 0.5485 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/0.4046, allocations: 491.7 kB / 0.549 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.298e-05/0.4046, allocations: 115.3 kB / 0.5491 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.4058, allocations: 316.9 kB / 0.5494 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4059, allocations: 138.5 kB / 0.5495 GB, free: 2.375 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.0009857/0.4069, allocations: 0.8622 MB / 0.5504 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4071, allocations: 235.4 kB / 0.5506 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.4073, allocations: 221.9 kB / 0.5508 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.828e-05/0.4073, allocations: 181.2 kB / 0.551 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.4074, allocations: 180.3 kB / 0.5512 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/0.4074, allocations: 184.2 kB / 0.5513 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.4088, allocations: 1.481 MB / 0.5528 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/0.4089, allocations: 101 kB / 0.5529 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.4089, allocations: 107.6 kB / 0.553 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.409, allocations: 185.2 kB / 0.5532 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.409, allocations: 182.4 kB / 0.5533 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.818e-05/0.4091, allocations: 180.3 kB / 0.5535 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.147e-05/0.4091, allocations: 182.8 kB / 0.5537 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.4094, allocations: 431.1 kB / 0.5541 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.4096, allocations: 299.6 kB / 0.5544 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.4097, allocations: 181.4 kB / 0.5546 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.41, allocations: 107.2 kB / 0.5547 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4101, allocations: 178.2 kB / 0.5548 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4101, allocations: 103 kB / 0.5549 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.4113, allocations: 1.025 MB / 0.5559 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4113, allocations: 0 / 0.5559 GB, free: 12.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001384/0.4127, allocations: 438 kB / 0.5563 GB, free: 12.37 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.0004523/0.4131, allocations: 0.9423 MB / 0.5573 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4142, allocations: 0.9018 MB / 0.5581 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4142, allocations: 0 / 0.5581 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.774e-06/0.4142, allocations: 256 / 0.5581 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.415, allocations: 0.6432 MB / 0.5588 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.4311, allocations: 15.18 MB / 0.5736 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.4324, allocations: 1.583 MB / 0.5751 GB, free: 7.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00121/0.4337, allocations: 495.4 kB / 0.5756 GB, free: 6.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/0.4343, allocations: 0.6711 MB / 0.5763 GB, free: 6.016 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4343, allocations: 0 / 0.5763 GB, free: 6.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.4681, allocations: 20.6 MB / 0.5964 GB, free: 1.621 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.4683, allocations: 199.7 kB / 0.5966 GB, free: 1.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.557, allocations: 3.938 kB / 0.5966 GB, free: 1.359 MB / 446.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