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.001407/0.001407, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.13 MB / 344.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 79.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3173, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01144/0.3288, allocations: 8.696 MB / 0.5391 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.3344, allocations: 2.291 MB / 0.5413 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.3356, allocations: 42.16 kB / 0.5414 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.3389, allocations: 1.541 MB / 0.5429 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3404, allocations: 464.6 kB / 0.5433 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3407, allocations: 74.89 kB / 0.5434 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.3422, allocations: 0.9229 MB / 0.5443 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.3441, allocations: 1.492 MB / 0.5458 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.345, allocations: 0.5409 MB / 0.5463 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.346, allocations: 0.685 MB / 0.547 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.3463, allocations: 119.9 kB / 0.5471 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.3467, allocations: 128 kB / 0.5472 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007066/0.3474, allocations: 0.7208 MB / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008661/0.3483, allocations: 0.8541 MB / 0.5487 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.3507, allocations: 2.326 MB / 0.551 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3508, allocations: 0 / 0.551 GB, free: 12.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3508, allocations: 0 / 0.551 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.512e-05/0.3508, allocations: 0 / 0.551 GB, free: 12.68 MB / 414.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.002768/0.3536, allocations: 2.003 MB / 0.553 GB, free: 10.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3536, allocations: 12.03 kB / 0.553 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003677/0.354, allocations: 338.5 kB / 0.5533 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000563/0.3546, allocations: 219.4 kB / 0.5535 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3556, allocations: 0.719 MB / 0.5542 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.3557, allocations: 115.4 kB / 0.5543 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.3559, allocations: 155.9 kB / 0.5545 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/0.3602, allocations: 3.375 MB / 0.5578 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.3603, allocations: 19.81 kB / 0.5578 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.3604, allocations: 71.94 kB / 0.5578 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007621/0.3612, allocations: 0.6227 MB / 0.5585 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.3644, allocations: 1.85 MB / 0.5603 GB, free: 2.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.3778, allocations: 13.53 MB / 0.5735 GB, free: 4.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.378, allocations: 165.1 kB / 0.5736 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.378, allocations: 88.08 kB / 0.5737 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.3781, allocations: 79.28 kB / 0.5738 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.3781, allocations: 109.8 kB / 0.5739 GB, free: 4.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.874e-06/0.3781, allocations: 4 kB / 0.5739 GB, free: 4.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000244/0.3784, allocations: 152.9 kB / 0.574 GB, free: 4.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.3785, allocations: 130.6 kB / 0.5742 GB, free: 4.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.3805, allocations: 1.647 MB / 0.5758 GB, free: 2.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3806, allocations: 25.7 kB / 0.5758 GB, free: 2.359 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.3816, allocations: 1.423 MB / 0.5772 GB, free: 0.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.3817, allocations: 43.95 kB / 0.5772 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.3822, allocations: 431.1 kB / 0.5776 GB, free: 456 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3823, allocations: 357.9 kB / 0.578 GB, free: 92 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/0.3829, allocations: 375.8 kB / 0.5783 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.3847, allocations: 1.929 MB / 0.5802 GB, free: 12.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.3875, allocations: 2.507 MB / 0.5827 GB, free: 9.664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/0.3875, allocations: 16 kB / 0.5827 GB, free: 9.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00343/0.3909, allocations: 2.119 MB / 0.5848 GB, free: 7.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.391, allocations: 28 kB / 0.5848 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-05/0.3911, allocations: 60 kB / 0.5848 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.127e-05/0.3912, allocations: 72 kB / 0.5849 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.3923, allocations: 491.7 kB / 0.5854 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.205e-05/0.3924, allocations: 111.5 kB / 0.5855 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3938, allocations: 329.5 kB / 0.5858 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.394, allocations: 144 kB / 0.5859 GB, free: 6.312 MB / 446.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.001111/0.3951, allocations: 0.8588 MB / 0.5868 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.3953, allocations: 244 kB / 0.587 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3956, allocations: 224.2 kB / 0.5872 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.3957, allocations: 180.3 kB / 0.5874 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.007e-05/0.3957, allocations: 188.2 kB / 0.5876 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.448e-05/0.3958, allocations: 180.2 kB / 0.5877 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3976, allocations: 1.477 MB / 0.5892 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-05/0.3976, allocations: 109 kB / 0.5893 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.3977, allocations: 108.9 kB / 0.5894 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-05/0.3978, allocations: 180.2 kB / 0.5896 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.3979, allocations: 176.3 kB / 0.5897 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/0.3979, allocations: 188.2 kB / 0.5899 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.589e-05/0.398, allocations: 180.3 kB / 0.5901 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3983, allocations: 433.9 kB / 0.5905 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.3986, allocations: 297.2 kB / 0.5908 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.3988, allocations: 184.2 kB / 0.591 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3991, allocations: 109 kB / 0.5911 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.3992, allocations: 180.3 kB / 0.5912 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.3993, allocations: 112.9 kB / 0.5913 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4006, allocations: 1.01 MB / 0.5923 GB, free: 15.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4006, allocations: 0 / 0.5923 GB, free: 15.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001637/0.4023, allocations: 438.6 kB / 0.5927 GB, free: 15.1 MB / 462.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.0006316/0.4029, allocations: 0.9407 MB / 0.5937 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.4044, allocations: 0.9034 MB / 0.5945 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4044, allocations: 0 / 0.5945 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.4044, allocations: 0 / 0.5945 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.4053, allocations: 0.5776 MB / 0.5951 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.4235, allocations: 13.59 MB / 0.6084 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.4251, allocations: 1.579 MB / 0.6099 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001128/0.4262, allocations: 495.2 kB / 0.6104 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/0.427, allocations: 0.6711 MB / 0.6111 GB, free: 10.51 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.427, allocations: 0 / 0.6111 GB, free: 10.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05181/0.4788, allocations: 21.64 MB / 0.6322 GB, free: 5.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 16.94 kB / 0.6322 GB, free: 4.988 MB / 494.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