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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2021/0.2021, allocations: 46.92 MB / 361.5 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 79.86 kB / 0.4974 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2695, allocations: 66.08 MB / 0.562 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009768/0.2792, allocations: 8.76 MB / 0.5705 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004154/0.2834, allocations: 2.313 MB / 0.5728 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.2839, allocations: 47.88 kB / 0.5728 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.2866, allocations: 1.561 MB / 0.5744 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.2875, allocations: 489.3 kB / 0.5748 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.2877, allocations: 75.83 kB / 0.5749 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009907/0.2887, allocations: 0.9254 MB / 0.5758 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.29, allocations: 1.213 MB / 0.577 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.2905, allocations: 0.5372 MB / 0.5775 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008726/0.2914, allocations: 0.72 MB / 0.5782 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.2915, allocations: 120 kB / 0.5783 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.2918, allocations: 127.9 kB / 0.5784 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.2924, allocations: 0.7439 MB / 0.5792 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000709/0.2931, allocations: 0.8541 MB / 0.58 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2953, allocations: 2.328 MB / 0.5823 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2953, allocations: 0 / 0.5823 GB, free: 15.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2953, allocations: 3.938 kB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.2953, allocations: 0 / 0.5823 GB, free: 15.29 MB / 430.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.002394/0.2977, allocations: 1.92 MB / 0.5842 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2977, allocations: 8.031 kB / 0.5842 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.2982, allocations: 227.4 kB / 0.5844 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2993, allocations: 0.6664 MB / 0.585 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.2994, allocations: 115.4 kB / 0.5851 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.2996, allocations: 152.1 kB / 0.5853 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003837/0.3034, allocations: 3.383 MB / 0.5886 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.946e-05/0.3034, allocations: 15.88 kB / 0.5886 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3036, allocations: 71.94 kB / 0.5887 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007119/0.3043, allocations: 0.6149 MB / 0.5893 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.307, allocations: 1.862 MB / 0.5911 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.3182, allocations: 13.44 MB / 0.6042 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.3183, allocations: 173.1 kB / 0.6044 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.3184, allocations: 84.14 kB / 0.6045 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3184, allocations: 83.22 kB / 0.6045 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.3185, allocations: 105.8 kB / 0.6046 GB, free: 7.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.3185, allocations: 0 / 0.6046 GB, free: 7.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001956/0.3186, allocations: 152.9 kB / 0.6048 GB, free: 7.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.3187, allocations: 134.6 kB / 0.6049 GB, free: 7.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.3206, allocations: 1.647 MB / 0.6065 GB, free: 5.566 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3206, allocations: 29.7 kB / 0.6066 GB, free: 5.531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.3216, allocations: 1.416 MB / 0.6079 GB, free: 4.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3217, allocations: 47.94 kB / 0.608 GB, free: 4.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/0.3221, allocations: 427.1 kB / 0.6084 GB, free: 3.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3222, allocations: 357.9 kB / 0.6087 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.3227, allocations: 371.8 kB / 0.6091 GB, free: 2.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.3244, allocations: 1.929 MB / 0.611 GB, free: 160 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.3269, allocations: 2.507 MB / 0.6134 GB, free: 12.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.3269, allocations: 16 kB / 0.6134 GB, free: 12.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002945/0.3298, allocations: 2.123 MB / 0.6155 GB, free: 10.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.3299, allocations: 30.34 kB / 0.6155 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/0.3299, allocations: 60 kB / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.47e-05/0.33, allocations: 75.94 kB / 0.6157 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.3311, allocations: 491 kB / 0.6161 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.34e-05/0.3312, allocations: 111.6 kB / 0.6162 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3323, allocations: 329.5 kB / 0.6166 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3324, allocations: 140 kB / 0.6167 GB, free: 9.488 MB / 462.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.001013/0.3335, allocations: 0.863 MB / 0.6175 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.3336, allocations: 236.1 kB / 0.6178 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3338, allocations: 224.2 kB / 0.618 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-05/0.3339, allocations: 184.3 kB / 0.6182 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/0.334, allocations: 184.3 kB / 0.6183 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.185e-05/0.334, allocations: 184.2 kB / 0.6185 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3355, allocations: 1.449 MB / 0.6199 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.3356, allocations: 108.9 kB / 0.62 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.3356, allocations: 108.9 kB / 0.6201 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.3357, allocations: 180.3 kB / 0.6203 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/0.3358, allocations: 188.2 kB / 0.6205 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-05/0.3358, allocations: 176.3 kB / 0.6206 GB, free: 5.297 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.109e-05/0.3359, allocations: 184.1 kB / 0.6208 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3362, allocations: 434 kB / 0.6212 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.3364, allocations: 224 kB / 0.6214 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.3366, allocations: 188.2 kB / 0.6216 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3369, allocations: 104.9 kB / 0.6217 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.3369, allocations: 180.2 kB / 0.6219 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.337, allocations: 105 kB / 0.622 GB, free: 3.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.3382, allocations: 1.014 MB / 0.623 GB, free: 2.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3382, allocations: 0 / 0.623 GB, free: 2.828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001426/0.3396, allocations: 438.6 kB / 0.6234 GB, free: 2.398 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.0001513/0.3398, allocations: 170.5 kB / 0.6236 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.341, allocations: 0.8687 MB / 0.6244 GB, free: 1.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.341, allocations: 4.062 kB / 0.6244 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.341, allocations: 0 / 0.6244 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007393/0.3417, allocations: 0.5705 MB / 0.625 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.3458, allocations: 2.993 MB / 0.6279 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.3471, allocations: 1.583 MB / 0.6294 GB, free: 12.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3472, allocations: 87.44 kB / 0.6295 GB, free: 12.05 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3472, allocations: 0 / 0.6295 GB, free: 12.05 MB / 478.1 MB Notification: Performance of Templates: time 0.02577/0.373, allocations: 17.95 MB / 0.6471 GB, free: 10.1 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.765562134096399]