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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2654, allocations: 62.44 MB / 0.5316 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.00858/0.274, allocations: 8.696 MB / 0.5401 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.2787, allocations: 2.291 MB / 0.5424 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/0.2796, allocations: 42.41 kB / 0.5424 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2823, allocations: 1.545 MB / 0.5439 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008968/0.2832, allocations: 465 kB / 0.5444 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.2835, allocations: 70.75 kB / 0.5444 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009653/0.2844, allocations: 0.9305 MB / 0.5453 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.2859, allocations: 1.493 MB / 0.5468 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.2865, allocations: 0.5332 MB / 0.5473 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.2871, allocations: 0.6889 MB / 0.548 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2873, allocations: 120 kB / 0.5481 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.2876, allocations: 123.9 kB / 0.5482 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005167/0.2881, allocations: 0.7324 MB / 0.5489 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005979/0.2887, allocations: 0.8502 MB / 0.5498 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.2904, allocations: 2.313 MB / 0.552 GB, free: 12.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2904, allocations: 0 / 0.552 GB, free: 12.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2904, allocations: 0 / 0.552 GB, free: 12.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.2904, allocations: 0 / 0.552 GB, free: 12.74 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.001981/0.2924, allocations: 1.948 MB / 0.5539 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2925, allocations: 16.03 kB / 0.5539 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.2929, allocations: 210.1 kB / 0.5541 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.2939, allocations: 0.7187 MB / 0.5548 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.294, allocations: 115.4 kB / 0.555 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.2941, allocations: 156 kB / 0.5551 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.2973, allocations: 3.375 MB / 0.5584 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.2973, allocations: 19.81 kB / 0.5584 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.2974, allocations: 71.94 kB / 0.5585 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006021/0.298, allocations: 0.6187 MB / 0.5591 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.3004, allocations: 1.862 MB / 0.5609 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/0.3101, allocations: 13.48 MB / 0.5741 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.3102, allocations: 169.1 kB / 0.5742 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.3103, allocations: 84.14 kB / 0.5743 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3103, allocations: 83.2 kB / 0.5744 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3104, allocations: 113.8 kB / 0.5745 GB, free: 4.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.3104, allocations: 0 / 0.5745 GB, free: 4.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002088/0.3106, allocations: 152.1 kB / 0.5746 GB, free: 4.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.3106, allocations: 126.7 kB / 0.5748 GB, free: 4.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.3123, allocations: 1.643 MB / 0.5764 GB, free: 2.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.3123, allocations: 25.7 kB / 0.5764 GB, free: 2.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/0.3131, allocations: 1.367 MB / 0.5777 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.3132, allocations: 43.95 kB / 0.5778 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.3135, allocations: 422.8 kB / 0.5782 GB, free: 1.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3137, allocations: 357.9 kB / 0.5785 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.3141, allocations: 371.8 kB / 0.5789 GB, free: 296 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3155, allocations: 1.929 MB / 0.5808 GB, free: 13.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.3176, allocations: 2.507 MB / 0.5832 GB, free: 10.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-05/0.3176, allocations: 20 kB / 0.5832 GB, free: 10.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002711/0.3203, allocations: 2.115 MB / 0.5853 GB, free: 8.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.3204, allocations: 32 kB / 0.5853 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-05/0.3204, allocations: 56 kB / 0.5854 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.229e-05/0.3205, allocations: 72 kB / 0.5854 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3216, allocations: 491 kB / 0.5859 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.563e-05/0.3217, allocations: 107.6 kB / 0.586 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.3229, allocations: 320.9 kB / 0.5863 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.323, allocations: 144 kB / 0.5865 GB, free: 6.895 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.0008411/0.3239, allocations: 0.8588 MB / 0.5873 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.324, allocations: 235.2 kB / 0.5875 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.3242, allocations: 232.2 kB / 0.5877 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.3242, allocations: 180.3 kB / 0.5879 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/0.3243, allocations: 188.2 kB / 0.5881 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.602e-05/0.3244, allocations: 180.3 kB / 0.5883 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3257, allocations: 1.481 MB / 0.5897 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.3257, allocations: 104.9 kB / 0.5898 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.3257, allocations: 105 kB / 0.5899 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.319e-05/0.3258, allocations: 180.2 kB / 0.5901 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.3258, allocations: 184.2 kB / 0.5903 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/0.3259, allocations: 184.2 kB / 0.5904 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.402e-05/0.326, allocations: 180.2 kB / 0.5906 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.3261, allocations: 425.3 kB / 0.591 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.3264, allocations: 296.4 kB / 0.5913 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3265, allocations: 184.2 kB / 0.5915 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.3268, allocations: 109 kB / 0.5916 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.3269, allocations: 184.2 kB / 0.5917 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3269, allocations: 109 kB / 0.5919 GB, free: 1.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.328, allocations: 1.014 MB / 0.5928 GB, free: 120 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.328, allocations: 0 / 0.5928 GB, free: 120 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001395/0.3294, allocations: 426.1 kB / 0.5932 GB, free: 15.7 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.0001357/0.3295, allocations: 174.5 kB / 0.5934 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.3306, allocations: 0.8997 MB / 0.5943 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3306, allocations: 0 / 0.5943 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.3306, allocations: 3.938 kB / 0.5943 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.3313, allocations: 0.5827 MB / 0.5949 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.335, allocations: 2.937 MB / 0.5977 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.3361, allocations: 1.572 MB / 0.5993 GB, free: 9.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3362, allocations: 87.44 kB / 0.5994 GB, free: 9.371 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3362, allocations: 4 kB / 0.5994 GB, free: 9.367 MB / 462.1 MB Notification: Performance of Templates: time 0.02318/0.3594, allocations: 17.89 MB / 0.6168 GB, free: 7.492 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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