Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 74.72 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.132, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009872/0.1419, allocations: 8.699 MB / 488.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004809/0.1468, allocations: 2.285 MB / 491.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1478, allocations: 43.94 kB / 491.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.1507, allocations: 1.546 MB / 492.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1518, allocations: 465.3 kB / 493.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1521, allocations: 71.84 kB / 493.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1532, allocations: 0.9371 MB / 494.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.1549, allocations: 1.499 MB / 495.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.1557, allocations: 0.5294 MB / 496.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/0.1566, allocations: 0.6772 MB / 496.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.1569, allocations: 120 kB / 497 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.1574, allocations: 123.9 kB / 497.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000758/0.1582, allocations: 0.7285 MB / 497.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1592, allocations: 0.8541 MB / 498.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.1615, allocations: 2.207 MB / 0.4891 GB, free: 296 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.1616, allocations: 4 kB / 0.4892 GB, free: 292 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1616, allocations: 4 kB / 0.4892 GB, free: 288 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.1617, allocations: 0 / 0.4892 GB, free: 288 kB / 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.002924/0.1646, allocations: 1.951 MB / 0.4911 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1647, allocations: 8.031 kB / 0.4911 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003834/0.1651, allocations: 330.5 kB / 0.4914 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.1656, allocations: 214.1 kB / 0.4916 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.1666, allocations: 0.7187 MB / 0.4923 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.1667, allocations: 115.4 kB / 0.4924 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1669, allocations: 155.9 kB / 0.4926 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.1706, allocations: 3.375 MB / 0.4958 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.1706, allocations: 15.88 kB / 0.4959 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1708, allocations: 71.94 kB / 0.4959 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006628/0.1714, allocations: 0.6188 MB / 0.4965 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.1742, allocations: 1.858 MB / 0.4983 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2162/0.3904, allocations: 13.52 MB / 0.5115 GB, free: 31.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.319e-05/0.3905, allocations: 172.4 kB / 0.5117 GB, free: 30.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.3905, allocations: 84.34 kB / 0.5118 GB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3905, allocations: 75.28 kB / 0.5119 GB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3906, allocations: 110.8 kB / 0.512 GB, free: 30.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.3906, allocations: 3.375 kB / 0.512 GB, free: 30.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002333/0.3908, allocations: 154.7 kB / 0.5121 GB, free: 30.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3909, allocations: 131.7 kB / 0.5122 GB, free: 30.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.393, allocations: 1.647 MB / 0.5139 GB, free: 29.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.393, allocations: 29.8 kB / 0.5139 GB, free: 29.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.3937, allocations: 1.355 MB / 0.5152 GB, free: 28.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.3938, allocations: 44.25 kB / 0.5152 GB, free: 28.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.3942, allocations: 425.9 kB / 0.5157 GB, free: 28.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3943, allocations: 358.9 kB / 0.516 GB, free: 28.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3949, allocations: 372.5 kB / 0.5164 GB, free: 28.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.3962, allocations: 1.93 MB / 0.5182 GB, free: 25.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.3981, allocations: 2.512 MB / 0.5207 GB, free: 23.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/0.3982, allocations: 17.75 kB / 0.5207 GB, free: 23.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003514/0.4017, allocations: 2.104 MB / 0.5228 GB, free: 22.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.4018, allocations: 31.78 kB / 0.5228 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.4019, allocations: 57.09 kB / 0.5228 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.491e-05/0.402, allocations: 75.97 kB / 0.5229 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.4033, allocations: 490.7 kB / 0.5234 GB, free: 22.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/0.4035, allocations: 112.3 kB / 0.5235 GB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.405, allocations: 322.7 kB / 0.5238 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.4051, allocations: 138.6 kB / 0.5239 GB, free: 22.13 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.001304/0.4064, allocations: 0.8681 MB / 0.5248 GB, free: 21.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.4067, allocations: 226.2 kB / 0.525 GB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.4069, allocations: 226.4 kB / 0.5252 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/0.4069, allocations: 182.1 kB / 0.5254 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/0.4069, allocations: 178.6 kB / 0.5256 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.978e-05/0.407, allocations: 181.8 kB / 0.5257 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.4093, allocations: 1.479 MB / 0.5272 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-05/0.4094, allocations: 108.7 kB / 0.5273 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.4094, allocations: 106.9 kB / 0.5274 GB, free: 19.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.4095, allocations: 182.5 kB / 0.5276 GB, free: 19.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.4096, allocations: 180.9 kB / 0.5277 GB, free: 19.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.445e-05/0.4096, allocations: 182.4 kB / 0.5279 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.719e-05/0.4097, allocations: 182 kB / 0.5281 GB, free: 19.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.41, allocations: 433.2 kB / 0.5285 GB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.4104, allocations: 297 kB / 0.5288 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.4105, allocations: 181.3 kB / 0.5289 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.4109, allocations: 107.8 kB / 0.529 GB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/0.4109, allocations: 184.8 kB / 0.5292 GB, free: 17.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.411, allocations: 103.2 kB / 0.5293 GB, free: 17.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.4129, allocations: 1.017 MB / 0.5303 GB, free: 17.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4129, allocations: 0 / 0.5303 GB, free: 17.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002233/0.4151, allocations: 425.1 kB / 0.5307 GB, free: 17.29 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.0004953/0.4156, allocations: 0.9423 MB / 0.5316 GB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.4173, allocations: 0.8954 MB / 0.5325 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4173, allocations: 0.8125 kB / 0.5325 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.4173, allocations: 0 / 0.5325 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.4181, allocations: 0.5736 MB / 0.5331 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.4326, allocations: 14.39 MB / 0.5471 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.4336, allocations: 1.575 MB / 0.5487 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001132/0.4347, allocations: 499.2 kB / 0.5491 GB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.4353, allocations: 0.6672 MB / 0.5498 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4353, allocations: 3.938 kB / 0.5498 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05205/0.4873, allocations: 21.17 MB / 0.5705 GB, free: 11.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.658, allocations: 13.42 kB / 0.5705 GB, free: 11.51 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches