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.00172/0.00172, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.002109/0.002109, allocations: 185 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.541/1.541, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2235/0.2235, allocations: 44.17 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3687, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009133/0.3778, allocations: 8.726 MB / 0.5269 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.3832, allocations: 2.243 MB / 0.5291 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.3844, allocations: 42.31 kB / 0.5292 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.3877, allocations: 1.536 MB / 0.5307 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.3892, allocations: 472.9 kB / 0.5311 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.3896, allocations: 75.56 kB / 0.5312 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.391, allocations: 0.949 MB / 0.5321 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.3929, allocations: 1.495 MB / 0.5336 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.3939, allocations: 0.5439 MB / 0.5341 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.3951, allocations: 0.6767 MB / 0.5348 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000281/0.3954, allocations: 118.5 kB / 0.5349 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.3958, allocations: 126.1 kB / 0.535 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007372/0.3965, allocations: 0.7316 MB / 0.5357 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.3976, allocations: 0.8629 MB / 0.5366 GB, free: 7.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.4005, allocations: 2.352 MB / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4006, allocations: 0 / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4006, allocations: 1.062 kB / 0.5389 GB, free: 5.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.4007, allocations: 0 / 0.5389 GB, free: 5.395 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.003447/0.4041, allocations: 2.007 MB / 0.5408 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.4042, allocations: 9.688 kB / 0.5408 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004748/0.4047, allocations: 338.9 kB / 0.5411 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006714/0.4053, allocations: 229.3 kB / 0.5414 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.4066, allocations: 0.7186 MB / 0.5421 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.4067, allocations: 120.7 kB / 0.5422 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.4069, allocations: 152.6 kB / 0.5423 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/0.4119, allocations: 3.383 MB / 0.5456 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.4119, allocations: 19.81 kB / 0.5456 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.4121, allocations: 71.94 kB / 0.5457 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008129/0.4129, allocations: 0.6149 MB / 0.5463 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.4165, allocations: 1.862 MB / 0.5481 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.4318, allocations: 13.51 MB / 0.5613 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.432, allocations: 177.1 kB / 0.5615 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.432, allocations: 84.08 kB / 0.5616 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.4321, allocations: 83.2 kB / 0.5617 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.4321, allocations: 105.8 kB / 0.5618 GB, free: 14.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.4321, allocations: 3.938 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003067/0.4325, allocations: 156.8 kB / 0.5619 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.4325, allocations: 130.7 kB / 0.562 GB, free: 14.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.4347, allocations: 1.656 MB / 0.5637 GB, free: 12.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4347, allocations: 25.7 kB / 0.5637 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.4358, allocations: 1.42 MB / 0.5651 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.4359, allocations: 47.89 kB / 0.5651 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005072/0.4364, allocations: 427.2 kB / 0.5655 GB, free: 10.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4366, allocations: 353.9 kB / 0.5659 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.4372, allocations: 375.8 kB / 0.5662 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.4391, allocations: 1.933 MB / 0.5681 GB, free: 7.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.4419, allocations: 2.504 MB / 0.5705 GB, free: 4.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/0.4419, allocations: 20 kB / 0.5706 GB, free: 4.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003416/0.4454, allocations: 2.127 MB / 0.5726 GB, free: 1.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.4454, allocations: 30.81 kB / 0.5727 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.13e-05/0.4455, allocations: 56 kB / 0.5727 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.486e-05/0.4456, allocations: 76 kB / 0.5728 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4467, allocations: 487 kB / 0.5733 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.8e-05/0.4468, allocations: 115.5 kB / 0.5734 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.4482, allocations: 325.6 kB / 0.5737 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.4484, allocations: 136.4 kB / 0.5738 GB, free: 0.7383 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.00124/0.4496, allocations: 0.8629 MB / 0.5747 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.4499, allocations: 236 kB / 0.5749 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.4501, allocations: 228.5 kB / 0.5751 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-05/0.4502, allocations: 188.2 kB / 0.5753 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.48e-05/0.4503, allocations: 180.2 kB / 0.5754 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-05/0.4504, allocations: 176.4 kB / 0.5756 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4523, allocations: 1.493 MB / 0.5771 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.203e-05/0.4523, allocations: 105 kB / 0.5772 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.4524, allocations: 105 kB / 0.5773 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.4525, allocations: 184.2 kB / 0.5774 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.4525, allocations: 176.3 kB / 0.5776 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-05/0.4526, allocations: 184.2 kB / 0.5778 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-05/0.4527, allocations: 180.2 kB / 0.578 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.453, allocations: 438 kB / 0.5784 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.4534, allocations: 305.2 kB / 0.5787 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.4536, allocations: 184 kB / 0.5788 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.4539, allocations: 105 kB / 0.5789 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.454, allocations: 176.3 kB / 0.5791 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.454, allocations: 116.9 kB / 0.5792 GB, free: 10.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001416/0.4554, allocations: 1.018 MB / 0.5802 GB, free: 9.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4554, allocations: 0 / 0.5802 GB, free: 9.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001701/0.4572, allocations: 434.7 kB / 0.5806 GB, free: 9.512 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.4578, allocations: 0.9446 MB / 0.5816 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.4593, allocations: 0.9023 MB / 0.5824 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4593, allocations: 0 / 0.5824 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.4593, allocations: 0 / 0.5824 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.4603, allocations: 0.5651 MB / 0.583 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.4789, allocations: 13.63 MB / 0.5963 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.4807, allocations: 1.583 MB / 0.5979 GB, free: 6.031 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.4818, allocations: 491.4 kB / 0.5983 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008359/0.4827, allocations: 0.6594 MB / 0.599 GB, free: 4.887 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4827, allocations: 0 / 0.599 GB, free: 4.887 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.5388, allocations: 21.73 MB / 0.6202 GB, free: 15.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.44, allocations: 15.67 kB / 0.6202 GB, free: 15.31 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