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.00171/0.00171, allocations: 102.5 kB / 17.63 MB, free: 5.344 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.001754/0.001754, allocations: 192 kB / 18.56 MB, free: 4.434 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2072/0.2072, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 60.44 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1304, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01105/0.1415, allocations: 8.718 MB / 478.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004903/0.1465, allocations: 2.25 MB / 480.3 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.1477, allocations: 39.94 kB / 480.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.151, allocations: 1.542 MB / 481.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1524, allocations: 465.2 kB / 482.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1528, allocations: 79.83 kB / 482.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.1543, allocations: 0.9372 MB / 483.4 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.1564, allocations: 1.51 MB / 484.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009814/0.1574, allocations: 0.5372 MB / 485.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.1586, allocations: 0.6772 MB / 486.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003013/0.1589, allocations: 124 kB / 486.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.1593, allocations: 123.9 kB / 486.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007442/0.1601, allocations: 0.7402 MB / 487.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.1613, allocations: 0.8541 MB / 487.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.1636, allocations: 2.242 MB / 490.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1636, allocations: 0 / 490.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1636, allocations: 0 / 490.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.1637, allocations: 0 / 490.2 MB, free: 9.344 MB / 366.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.003247/0.167, allocations: 1.955 MB / 492.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1671, allocations: 12.03 kB / 492.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004554/0.1675, allocations: 334.5 kB / 492.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006015/0.1681, allocations: 210.2 kB / 492.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1692, allocations: 0.7225 MB / 493.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.1693, allocations: 115.4 kB / 493.5 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.1695, allocations: 155.9 kB / 493.7 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.1737, allocations: 3.367 MB / 497 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.1738, allocations: 15.88 kB / 497 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.1739, allocations: 75.92 kB / 497.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006996/0.1746, allocations: 0.6149 MB / 497.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.1778, allocations: 1.866 MB / 499.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.1901, allocations: 13.52 MB / 0.5011 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.758e-05/0.1902, allocations: 181 kB / 0.5013 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.1902, allocations: 84.08 kB / 0.5013 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1903, allocations: 79.28 kB / 0.5014 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1903, allocations: 105.8 kB / 0.5015 GB, free: 1.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.1903, allocations: 0 / 0.5015 GB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002537/0.1906, allocations: 156 kB / 0.5017 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1906, allocations: 130.7 kB / 0.5018 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.184/0.3747, allocations: 1.649 MB / 0.5034 GB, free: 49.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.3747, allocations: 25.7 kB / 0.5034 GB, free: 49.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009321/0.3757, allocations: 1.366 MB / 0.5048 GB, free: 48.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.3757, allocations: 46.05 kB / 0.5048 GB, free: 48.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.3762, allocations: 424.6 kB / 0.5052 GB, free: 48.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3763, allocations: 359.1 kB / 0.5056 GB, free: 48.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.3769, allocations: 368.3 kB / 0.5059 GB, free: 48.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.378, allocations: 1.928 MB / 0.5078 GB, free: 46.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.3798, allocations: 2.514 MB / 0.5102 GB, free: 43.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.385e-05/0.3799, allocations: 16.31 kB / 0.5103 GB, free: 43.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003177/0.3831, allocations: 2.117 MB / 0.5123 GB, free: 42.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.03e-05/0.3831, allocations: 28.31 kB / 0.5124 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.079e-05/0.3832, allocations: 60.42 kB / 0.5124 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.564e-05/0.3833, allocations: 77.75 kB / 0.5125 GB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3844, allocations: 487.3 kB / 0.513 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-05/0.3845, allocations: 109 kB / 0.5131 GB, free: 42.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.3861, allocations: 315.3 kB / 0.5134 GB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.3863, allocations: 138.7 kB / 0.5135 GB, free: 42.19 MB / 382.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.001538/0.3879, allocations: 0.8717 MB / 0.5143 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3881, allocations: 227 kB / 0.5146 GB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.3883, allocations: 231.2 kB / 0.5148 GB, free: 41.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.635e-05/0.3884, allocations: 181 kB / 0.5149 GB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.488e-05/0.3884, allocations: 182.9 kB / 0.5151 GB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.413e-05/0.3884, allocations: 184.8 kB / 0.5153 GB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3907, allocations: 1.474 MB / 0.5167 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/0.3907, allocations: 106.9 kB / 0.5168 GB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.3907, allocations: 101.5 kB / 0.5169 GB, free: 39.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.605e-05/0.3908, allocations: 178.3 kB / 0.5171 GB, free: 39.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3908, allocations: 186.4 kB / 0.5173 GB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-05/0.3909, allocations: 184.9 kB / 0.5175 GB, free: 39.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/0.3909, allocations: 182.1 kB / 0.5176 GB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.3911, allocations: 430.3 kB / 0.518 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.3914, allocations: 294.8 kB / 0.5183 GB, free: 38.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.3915, allocations: 187 kB / 0.5185 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.3918, allocations: 110.7 kB / 0.5186 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3918, allocations: 180.4 kB / 0.5188 GB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3918, allocations: 102.8 kB / 0.5189 GB, free: 37.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.3932, allocations: 1.02 MB / 0.5199 GB, free: 37.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.3932, allocations: 0 / 0.5199 GB, free: 37.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001801/0.395, allocations: 439.1 kB / 0.5203 GB, free: 37.34 MB / 382.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.0005171/0.3955, allocations: 0.933 MB / 0.5212 GB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3971, allocations: 0.8992 MB / 0.5221 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3971, allocations: 1.25 kB / 0.5221 GB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.3971, allocations: 7.938 kB / 0.5221 GB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.3978, allocations: 0.5742 MB / 0.5227 GB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.4127, allocations: 14.41 MB / 0.5367 GB, free: 24.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/0.4137, allocations: 1.581 MB / 0.5383 GB, free: 22.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.4147, allocations: 488.8 kB / 0.5387 GB, free: 22.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.4152, allocations: 0.6711 MB / 0.5394 GB, free: 21.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4152, allocations: 4 kB / 0.5394 GB, free: 21.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.4514, allocations: 21.23 MB / 0.5601 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.73, allocations: 11.94 kB / 0.5601 GB, free: 0.6836 MB / 382.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