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.001024/0.001024, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 79.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008383/0.2757, allocations: 8.69 MB / 0.5401 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.2797, allocations: 2.291 MB / 0.5424 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.2803, allocations: 42.16 kB / 0.5424 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002591/0.2829, allocations: 1.545 MB / 0.5439 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008676/0.2838, allocations: 487 kB / 0.5444 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.2841, allocations: 71.91 kB / 0.5444 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008763/0.285, allocations: 0.9303 MB / 0.5454 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.2864, allocations: 1.499 MB / 0.5468 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.2869, allocations: 0.5371 MB / 0.5473 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006839/0.2876, allocations: 0.6772 MB / 0.548 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.2877, allocations: 123.9 kB / 0.5481 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.288, allocations: 124 kB / 0.5482 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.2885, allocations: 0.7285 MB / 0.549 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006072/0.2891, allocations: 0.858 MB / 0.5498 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.2908, allocations: 2.313 MB / 0.5521 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2909, allocations: 0 / 0.5521 GB, free: 12.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2909, allocations: 0 / 0.5521 GB, free: 12.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.2909, allocations: 0 / 0.5521 GB, free: 12.77 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.002065/0.293, allocations: 1.948 MB / 0.554 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.293, allocations: 8.031 kB / 0.554 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/0.2935, allocations: 218.1 kB / 0.5542 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.2944, allocations: 0.7226 MB / 0.5549 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/0.2944, allocations: 115.4 kB / 0.555 GB, free: 9.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.2946, allocations: 152.1 kB / 0.5551 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.2978, allocations: 3.379 MB / 0.5584 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.2979, allocations: 15.88 kB / 0.5584 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.298, allocations: 75.94 kB / 0.5585 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005814/0.2986, allocations: 0.611 MB / 0.5591 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.301, allocations: 1.858 MB / 0.5609 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008868/0.3098, allocations: 13.48 MB / 0.5741 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.3099, allocations: 169.1 kB / 0.5743 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.31, allocations: 80.14 kB / 0.5743 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.31, allocations: 79.22 kB / 0.5744 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.31, allocations: 117.8 kB / 0.5745 GB, free: 4.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.3101, allocations: 0 / 0.5745 GB, free: 4.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001706/0.3102, allocations: 148.1 kB / 0.5747 GB, free: 4.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.3103, allocations: 134.6 kB / 0.5748 GB, free: 4.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.3119, allocations: 1.643 MB / 0.5764 GB, free: 2.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.3119, allocations: 25.7 kB / 0.5764 GB, free: 2.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.3127, allocations: 1.367 MB / 0.5778 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3127, allocations: 43.95 kB / 0.5778 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.3131, allocations: 426.8 kB / 0.5782 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3132, allocations: 349.9 kB / 0.5785 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.3137, allocations: 371.8 kB / 0.5789 GB, free: 332 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.315, allocations: 1.929 MB / 0.5808 GB, free: 13.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.3171, allocations: 2.507 MB / 0.5832 GB, free: 10.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.3171, allocations: 20 kB / 0.5832 GB, free: 10.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002543/0.3196, allocations: 2.118 MB / 0.5853 GB, free: 8.125 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.3197, allocations: 31.98 kB / 0.5853 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-05/0.3197, allocations: 60 kB / 0.5854 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.976e-05/0.3198, allocations: 72.81 kB / 0.5855 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3208, allocations: 483.1 kB / 0.5859 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.636e-05/0.3209, allocations: 115.6 kB / 0.586 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.322, allocations: 316.5 kB / 0.5863 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3221, allocations: 136 kB / 0.5865 GB, free: 6.934 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.000786/0.3229, allocations: 0.8705 MB / 0.5873 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.323, allocations: 227.3 kB / 0.5875 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.3232, allocations: 236.2 kB / 0.5878 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.3232, allocations: 184.3 kB / 0.5879 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-05/0.3233, allocations: 180.3 kB / 0.5881 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.525e-05/0.3234, allocations: 184.2 kB / 0.5883 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3246, allocations: 1.477 MB / 0.5897 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/0.3247, allocations: 108.9 kB / 0.5898 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.3247, allocations: 105 kB / 0.5899 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/0.3248, allocations: 176.3 kB / 0.5901 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/0.3248, allocations: 180.2 kB / 0.5903 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.265e-05/0.3249, allocations: 180.2 kB / 0.5904 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.833e-05/0.3249, allocations: 196.1 kB / 0.5906 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.3251, allocations: 413.4 kB / 0.591 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.3253, allocations: 304.3 kB / 0.5913 GB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.3255, allocations: 176.3 kB / 0.5915 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3257, allocations: 112.9 kB / 0.5916 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.3258, allocations: 188.2 kB / 0.5918 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.3258, allocations: 109 kB / 0.5919 GB, free: 1.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.3269, allocations: 1.01 MB / 0.5929 GB, free: 156 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.3269, allocations: 0 / 0.5929 GB, free: 156 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3281, allocations: 434.1 kB / 0.5933 GB, free: 15.72 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.0001333/0.3283, allocations: 170.5 kB / 0.5934 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009496/0.3292, allocations: 0.8986 MB / 0.5943 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3292, allocations: 4 kB / 0.5943 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.3293, allocations: 0 / 0.5943 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.3299, allocations: 0.5794 MB / 0.5949 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.3333, allocations: 2.941 MB / 0.5978 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.3344, allocations: 1.575 MB / 0.5993 GB, free: 9.484 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3345, allocations: 87.44 kB / 0.5994 GB, free: 9.398 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3345, allocations: 0 / 0.5994 GB, free: 9.398 MB / 462.1 MB Notification: Performance of Templates: time 0.0232/0.3578, allocations: 17.89 MB / 0.6168 GB, free: 7.527 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