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.0007595/0.0007594, allocations: 96.44 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008216/0.0008216, allocations: 204.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.246/0.35, allocations: 38.84 MB / 0.5098 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01673/0.3667, allocations: 7.22 MB / 0.5168 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008125/0.3749, allocations: 165.7 kB / 0.517 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.3757, allocations: 190.9 kB / 0.5172 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.3769, allocations: 433.4 kB / 0.5176 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3772, allocations: 71.03 kB / 0.5177 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.3788, allocations: 1.607 MB / 0.5192 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.3811, allocations: 1.886 MB / 0.5211 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.3817, allocations: 363.2 kB / 0.5214 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008312/0.3825, allocations: 0.5591 MB / 0.522 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3826, allocations: 50.06 kB / 0.522 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.3829, allocations: 53.83 kB / 0.5221 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.3836, allocations: 0.6365 MB / 0.5227 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006198/0.3842, allocations: 0.7594 MB / 0.5234 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.3862, allocations: 2.117 MB / 0.5255 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3862, allocations: 0 / 0.5255 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3862, allocations: 0 / 0.5255 GB, free: 7.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.755e-05/0.3863, allocations: 1 kB / 0.5255 GB, free: 7.594 MB / 382.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.002168/0.3884, allocations: 1.59 MB / 0.527 GB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3885, allocations: 10.38 kB / 0.527 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003524/0.3888, allocations: 336.2 kB / 0.5274 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.3894, allocations: 217 kB / 0.5276 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.3904, allocations: 0.7178 MB / 0.5283 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.3905, allocations: 114.2 kB / 0.5284 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.3907, allocations: 155.1 kB / 0.5285 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.395, allocations: 3.378 MB / 0.5318 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.3951, allocations: 22.84 kB / 0.5319 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3952, allocations: 73.36 kB / 0.5319 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008058/0.396, allocations: 0.6173 MB / 0.5325 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.3993, allocations: 1.853 MB / 0.5343 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.4125, allocations: 13.52 MB / 0.5475 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.4126, allocations: 171.8 kB / 0.5477 GB, free: 6.383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.4126, allocations: 84.14 kB / 0.5478 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.4127, allocations: 87.14 kB / 0.5479 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.4127, allocations: 109.8 kB / 0.548 GB, free: 6.094 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.745e-06/0.4127, allocations: 0 / 0.548 GB, free: 6.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002656/0.413, allocations: 148.5 kB / 0.5481 GB, free: 5.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.4131, allocations: 126.7 kB / 0.5482 GB, free: 5.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.415, allocations: 1.648 MB / 0.5498 GB, free: 4.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.4151, allocations: 29.64 kB / 0.5499 GB, free: 4.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008989/0.416, allocations: 1.359 MB / 0.5512 GB, free: 3.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.416, allocations: 44.89 kB / 0.5512 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.4162, allocations: 188.8 kB / 0.5514 GB, free: 3.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4164, allocations: 354.1 kB / 0.5518 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.4168, allocations: 378.2 kB / 0.5521 GB, free: 3.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4184, allocations: 1.926 MB / 0.554 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.4208, allocations: 2.509 MB / 0.5565 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.4208, allocations: 21.66 kB / 0.5565 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003079/0.4239, allocations: 2.112 MB / 0.5585 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.424, allocations: 28 kB / 0.5586 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.033e-05/0.424, allocations: 60 kB / 0.5586 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-05/0.4241, allocations: 76.77 kB / 0.5587 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.4252, allocations: 487 kB / 0.5592 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.29e-05/0.4253, allocations: 115.6 kB / 0.5593 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4267, allocations: 312.6 kB / 0.5596 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4268, allocations: 140 kB / 0.5597 GB, free: 11.09 MB / 414.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.001152/0.428, allocations: 0.8589 MB / 0.5605 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4282, allocations: 231.3 kB / 0.5608 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.4283, allocations: 228.5 kB / 0.561 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.028e-05/0.4284, allocations: 184.2 kB / 0.5612 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-05/0.4285, allocations: 180.3 kB / 0.5613 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/0.4285, allocations: 176.3 kB / 0.5615 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.4301, allocations: 1.481 MB / 0.5629 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/0.4301, allocations: 108.9 kB / 0.563 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.4302, allocations: 104.9 kB / 0.5631 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.717e-05/0.4302, allocations: 180.3 kB / 0.5633 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.4303, allocations: 179.5 kB / 0.5635 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.806e-05/0.4304, allocations: 188.2 kB / 0.5637 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.068e-05/0.4304, allocations: 184.2 kB / 0.5638 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.4306, allocations: 425.2 kB / 0.5642 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.4309, allocations: 300.4 kB / 0.5645 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.4311, allocations: 184.5 kB / 0.5647 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.4314, allocations: 109 kB / 0.5648 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.4314, allocations: 188.2 kB / 0.565 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.4315, allocations: 101 kB / 0.5651 GB, free: 5.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.4327, allocations: 1.014 MB / 0.5661 GB, free: 4.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4327, allocations: 3.938 kB / 0.5661 GB, free: 4.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4342, allocations: 426.2 kB / 0.5665 GB, free: 3.898 MB / 414.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.0005188/0.4348, allocations: 0.9443 MB / 0.5674 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.436, allocations: 0.8953 MB / 0.5683 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.436, allocations: 0 / 0.5683 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.436, allocations: 4.812 kB / 0.5683 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.4369, allocations: 0.6338 MB / 0.5689 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.4536, allocations: 15.14 MB / 0.5837 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.4549, allocations: 1.575 MB / 0.5852 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.4561, allocations: 499.2 kB / 0.5857 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/0.4568, allocations: 0.6671 MB / 0.5864 GB, free: 13.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4568, allocations: 0 / 0.5864 GB, free: 13.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.4918, allocations: 20.55 MB / 0.6064 GB, free: 8.957 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.492, allocations: 191.8 kB / 0.6066 GB, free: 8.703 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.598, allocations: 3.938 kB / 0.6066 GB, free: 8.699 MB / 462.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/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