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.001335/0.001335, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001468/0.001468, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2193/0.2193, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009014/0.3258, allocations: 8.723 MB / 0.5269 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005221/0.331, allocations: 2.246 MB / 0.5291 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3322, allocations: 42.44 kB / 0.5292 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.3354, allocations: 1.525 MB / 0.5307 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.3368, allocations: 0.4932 MB / 0.5311 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3372, allocations: 75.25 kB / 0.5312 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3385, allocations: 0.9374 MB / 0.5321 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.3402, allocations: 1.5 MB / 0.5336 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.3411, allocations: 0.5474 MB / 0.5341 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.3422, allocations: 0.6796 MB / 0.5348 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.3425, allocations: 116.8 kB / 0.5349 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.3428, allocations: 125.2 kB / 0.535 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007374/0.3436, allocations: 0.7289 MB / 0.5357 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.345, allocations: 0.8659 MB / 0.5366 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.3488, allocations: 2.351 MB / 0.5389 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3488, allocations: 1.062 kB / 0.5389 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3489, allocations: 4 kB / 0.5389 GB, free: 5.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.833e-05/0.3489, allocations: 0 / 0.5389 GB, free: 5.387 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.00366/0.3526, allocations: 2.008 MB / 0.5408 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3527, allocations: 10.06 kB / 0.5409 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005159/0.3532, allocations: 333.6 kB / 0.5412 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000741/0.354, allocations: 222.3 kB / 0.5414 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.3555, allocations: 0.7304 MB / 0.5421 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3556, allocations: 116.3 kB / 0.5422 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.3559, allocations: 152.3 kB / 0.5424 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/0.361, allocations: 3.386 MB / 0.5457 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.3611, allocations: 11.88 kB / 0.5457 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.3613, allocations: 75.94 kB / 0.5457 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007339/0.362, allocations: 0.611 MB / 0.5463 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003497/0.3655, allocations: 1.866 MB / 0.5482 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.3796, allocations: 13.51 MB / 0.5614 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3798, allocations: 169.1 kB / 0.5615 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.3798, allocations: 88.08 kB / 0.5616 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3799, allocations: 75.28 kB / 0.5617 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.3799, allocations: 105.8 kB / 0.5618 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.375e-06/0.3799, allocations: 4 kB / 0.5618 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003576/0.3803, allocations: 156.8 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.3804, allocations: 134.7 kB / 0.5621 GB, free: 14.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.3825, allocations: 1.656 MB / 0.5637 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3825, allocations: 29.7 kB / 0.5637 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009835/0.3835, allocations: 1.416 MB / 0.5651 GB, free: 11.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.3836, allocations: 47.89 kB / 0.5651 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/0.384, allocations: 427.2 kB / 0.5655 GB, free: 10.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3842, allocations: 353.9 kB / 0.5659 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.3847, allocations: 371.8 kB / 0.5662 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.3864, allocations: 1.933 MB / 0.5681 GB, free: 7.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.389, allocations: 2.511 MB / 0.5706 GB, free: 4.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-05/0.389, allocations: 19.94 kB / 0.5706 GB, free: 4.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003417/0.3924, allocations: 2.124 MB / 0.5727 GB, free: 1.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.3925, allocations: 32.03 kB / 0.5727 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-05/0.3926, allocations: 60 kB / 0.5727 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.306e-05/0.3927, allocations: 72 kB / 0.5728 GB, free: 1.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.3939, allocations: 491 kB / 0.5733 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-05/0.3939, allocations: 107.6 kB / 0.5734 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.3954, allocations: 321.6 kB / 0.5737 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.3956, allocations: 140 kB / 0.5738 GB, free: 0.707 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.00115/0.3968, allocations: 0.8667 MB / 0.5747 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.397, allocations: 236 kB / 0.5749 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.3972, allocations: 228.5 kB / 0.5751 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.995e-05/0.3973, allocations: 176.3 kB / 0.5753 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-05/0.3974, allocations: 180.3 kB / 0.5755 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.059e-05/0.3975, allocations: 188.3 kB / 0.5756 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.3994, allocations: 1.485 MB / 0.5771 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.673e-05/0.3994, allocations: 104.9 kB / 0.5772 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.3995, allocations: 105 kB / 0.5773 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.447e-05/0.3996, allocations: 184.3 kB / 0.5775 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.3996, allocations: 184.2 kB / 0.5776 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.49e-05/0.3997, allocations: 176.3 kB / 0.5778 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-05/0.3998, allocations: 180.2 kB / 0.578 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4001, allocations: 442 kB / 0.5784 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.4004, allocations: 309.1 kB / 0.5787 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.4006, allocations: 184.1 kB / 0.5789 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.401, allocations: 104.9 kB / 0.579 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.401, allocations: 176.3 kB / 0.5791 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.4011, allocations: 109 kB / 0.5792 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.4024, allocations: 1.022 MB / 0.5802 GB, free: 9.906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4024, allocations: 0 / 0.5802 GB, free: 9.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001669/0.4041, allocations: 434.7 kB / 0.5807 GB, free: 9.48 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.0005331/0.4047, allocations: 0.9407 MB / 0.5816 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4061, allocations: 0.9036 MB / 0.5825 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.4061, allocations: 0 / 0.5825 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.4061, allocations: 3.938 kB / 0.5825 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.407, allocations: 0.5785 MB / 0.583 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.4246, allocations: 13.63 MB / 0.5963 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.4263, allocations: 1.579 MB / 0.5979 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00111/0.4275, allocations: 495.4 kB / 0.5983 GB, free: 5.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008033/0.4283, allocations: 0.6672 MB / 0.599 GB, free: 4.844 MB / 462.1 MB Notification: Performance of SimCode: time 3.507e-06/0.4283, allocations: 0 / 0.599 GB, free: 4.844 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04753/0.4758, allocations: 21.71 MB / 0.6202 GB, free: 15.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.33, allocations: 10.86 kB / 0.6202 GB, free: 15.29 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