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.001615/0.001615, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001591/0.001591, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2172/0.2172, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3403, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0096/0.3499, allocations: 8.749 MB / 0.527 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.3552, allocations: 2.252 MB / 0.5292 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.3564, allocations: 42.06 kB / 0.5292 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.3597, allocations: 1.545 MB / 0.5307 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.3612, allocations: 0.4924 MB / 0.5312 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003662/0.3616, allocations: 70.78 kB / 0.5313 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.3632, allocations: 0.9444 MB / 0.5322 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.365, allocations: 1.291 MB / 0.5334 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.366, allocations: 0.5418 MB / 0.534 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3673, allocations: 0.6755 MB / 0.5346 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.3676, allocations: 117.7 kB / 0.5347 GB, free: 8.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.3682, allocations: 129.2 kB / 0.5349 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.3691, allocations: 0.7514 MB / 0.5356 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3703, allocations: 0.8589 MB / 0.5364 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.373, allocations: 2.343 MB / 0.5387 GB, free: 5.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.373, allocations: 8 kB / 0.5387 GB, free: 5.434 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.373, allocations: 0 / 0.5387 GB, free: 5.434 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.9e-05/0.3731, allocations: 0 / 0.5387 GB, free: 5.434 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.003364/0.3764, allocations: 2.004 MB / 0.5407 GB, free: 3.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3765, allocations: 9.688 kB / 0.5407 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004577/0.3769, allocations: 338.6 kB / 0.541 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.3777, allocations: 221.6 kB / 0.5412 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.379, allocations: 0.7266 MB / 0.5419 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3791, allocations: 116.8 kB / 0.5421 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.3793, allocations: 152.3 kB / 0.5422 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005052/0.3844, allocations: 3.384 MB / 0.5455 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.3844, allocations: 15.88 kB / 0.5455 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.3846, allocations: 71.94 kB / 0.5456 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008592/0.3854, allocations: 0.611 MB / 0.5462 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/0.3891, allocations: 1.869 MB / 0.548 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.4042, allocations: 13.51 MB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4043, allocations: 177.1 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.4044, allocations: 88.08 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.4044, allocations: 75.28 kB / 0.5615 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.4045, allocations: 105.8 kB / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.4045, allocations: 0 / 0.5616 GB, free: 14.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002936/0.4048, allocations: 160.8 kB / 0.5618 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.4048, allocations: 126.7 kB / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.407, allocations: 1.659 MB / 0.5635 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4071, allocations: 25.7 kB / 0.5635 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.4081, allocations: 1.423 MB / 0.5649 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.4082, allocations: 43.95 kB / 0.565 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004979/0.4087, allocations: 427.2 kB / 0.5654 GB, free: 11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.4088, allocations: 357.9 kB / 0.5657 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.4094, allocations: 371.8 kB / 0.5661 GB, free: 10.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4112, allocations: 1.929 MB / 0.568 GB, free: 7.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.4139, allocations: 2.507 MB / 0.5704 GB, free: 4.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.749e-05/0.414, allocations: 16 kB / 0.5704 GB, free: 4.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003332/0.4173, allocations: 2.131 MB / 0.5725 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.4173, allocations: 30.5 kB / 0.5725 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/0.4174, allocations: 56 kB / 0.5726 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-05/0.4175, allocations: 76 kB / 0.5727 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4186, allocations: 487 kB / 0.5731 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.623e-05/0.4187, allocations: 107.6 kB / 0.5732 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4201, allocations: 329.6 kB / 0.5735 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.4203, allocations: 136 kB / 0.5737 GB, free: 0.8711 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.001274/0.4215, allocations: 0.8667 MB / 0.5745 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.4218, allocations: 236 kB / 0.5747 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.422, allocations: 232.4 kB / 0.575 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/0.4221, allocations: 184.2 kB / 0.5751 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.883e-05/0.4221, allocations: 180.3 kB / 0.5753 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.779e-05/0.4222, allocations: 184.3 kB / 0.5755 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.4241, allocations: 1.485 MB / 0.5769 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.733e-05/0.4241, allocations: 108.9 kB / 0.577 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.4242, allocations: 101 kB / 0.5771 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-05/0.4243, allocations: 188.2 kB / 0.5773 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.4244, allocations: 180.2 kB / 0.5775 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.621e-05/0.4245, allocations: 184.2 kB / 0.5777 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.764e-05/0.4245, allocations: 184.2 kB / 0.5778 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4248, allocations: 430.1 kB / 0.5783 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003396/0.4252, allocations: 309.1 kB / 0.5786 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.4254, allocations: 176.3 kB / 0.5787 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.4257, allocations: 108.9 kB / 0.5788 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.4258, allocations: 180.3 kB / 0.579 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.4258, allocations: 105 kB / 0.5791 GB, free: 11.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.4272, allocations: 1.022 MB / 0.5801 GB, free: 10.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4272, allocations: 0 / 0.5801 GB, free: 10.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001627/0.4288, allocations: 434.7 kB / 0.5805 GB, free: 9.641 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.0006768/0.4295, allocations: 0.9446 MB / 0.5814 GB, free: 8.668 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.4308, allocations: 0.8679 MB / 0.5823 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4308, allocations: 0 / 0.5823 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.4308, allocations: 3.938 kB / 0.5823 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.4317, allocations: 0.5757 MB / 0.5828 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.4501, allocations: 13.62 MB / 0.5961 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.4516, allocations: 1.579 MB / 0.5977 GB, free: 6.195 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.4528, allocations: 0.4916 MB / 0.5982 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.4536, allocations: 0.6633 MB / 0.5988 GB, free: 5.035 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4536, allocations: 0 / 0.5988 GB, free: 5.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05299/0.5066, allocations: 21.79 MB / 0.6201 GB, free: 15.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.47, allocations: 3.094 kB / 0.6201 GB, free: 15.41 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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