Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 209 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 46.97 MB / 361.6 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 59.91 kB / 0.4973 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.321, allocations: 66.04 MB / 0.5618 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009633/0.3307, allocations: 7.655 MB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.3358, allocations: 2.192 MB / 0.5715 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.3366, allocations: 47.88 kB / 0.5715 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.3397, allocations: 1.484 MB / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.3408, allocations: 493.3 kB / 0.5734 GB, free: 8.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3411, allocations: 71.84 kB / 0.5735 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.3421, allocations: 0.9293 MB / 0.5744 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.3435, allocations: 1.209 MB / 0.5756 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.3441, allocations: 0.5411 MB / 0.5761 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.345, allocations: 0.7239 MB / 0.5768 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.3452, allocations: 119.9 kB / 0.5769 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.3455, allocations: 127.9 kB / 0.577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000672/0.3462, allocations: 0.7439 MB / 0.5778 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006367/0.3468, allocations: 0.6405 MB / 0.5784 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.3491, allocations: 2.351 MB / 0.5807 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3491, allocations: 0 / 0.5807 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3491, allocations: 3.938 kB / 0.5807 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.3491, allocations: 0 / 0.5807 GB, free: 0.7148 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.002585/0.3517, allocations: 1.928 MB / 0.5826 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3517, allocations: 8.031 kB / 0.5826 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.3523, allocations: 223.4 kB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3535, allocations: 0.6664 MB / 0.5835 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.3536, allocations: 115.4 kB / 0.5836 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.3538, allocations: 156 kB / 0.5837 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/0.358, allocations: 3.379 MB / 0.587 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/0.358, allocations: 15.81 kB / 0.587 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3582, allocations: 79.94 kB / 0.5871 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008148/0.359, allocations: 0.6149 MB / 0.5877 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.3619, allocations: 1.85 MB / 0.5895 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.3729, allocations: 12.42 MB / 0.6016 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3731, allocations: 165.1 kB / 0.6018 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.3731, allocations: 80.14 kB / 0.6019 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.3731, allocations: 79.22 kB / 0.6019 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.3732, allocations: 113.8 kB / 0.6021 GB, free: 9.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/0.3732, allocations: 4 kB / 0.6021 GB, free: 9.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002249/0.3734, allocations: 129 kB / 0.6022 GB, free: 9.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.3735, allocations: 134.7 kB / 0.6023 GB, free: 9.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.3754, allocations: 1.434 MB / 0.6037 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3754, allocations: 25.7 kB / 0.6037 GB, free: 8.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.3766, allocations: 1.451 MB / 0.6051 GB, free: 6.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.3766, allocations: 43.95 kB / 0.6052 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004585/0.3771, allocations: 427.2 kB / 0.6056 GB, free: 6.301 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3772, allocations: 334 kB / 0.6059 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.3777, allocations: 367.8 kB / 0.6063 GB, free: 5.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.3796, allocations: 1.941 MB / 0.6082 GB, free: 2.848 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.3823, allocations: 2.507 MB / 0.6106 GB, free: 15.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.497e-05/0.3823, allocations: 23.94 kB / 0.6106 GB, free: 15.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003119/0.3854, allocations: 2.092 MB / 0.6127 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.3854, allocations: 32.94 kB / 0.6127 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.761e-05/0.3855, allocations: 56 kB / 0.6128 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.807e-05/0.3856, allocations: 83.94 kB / 0.6128 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3868, allocations: 491 kB / 0.6133 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.302e-05/0.3869, allocations: 107.6 kB / 0.6134 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.3881, allocations: 301.8 kB / 0.6137 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.3882, allocations: 140 kB / 0.6138 GB, free: 12.23 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.001085/0.3893, allocations: 0.8627 MB / 0.6147 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.3895, allocations: 216.2 kB / 0.6149 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.3896, allocations: 210.1 kB / 0.6151 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-05/0.3897, allocations: 180.3 kB / 0.6153 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.712e-05/0.3898, allocations: 184.3 kB / 0.6154 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/0.3899, allocations: 180.2 kB / 0.6156 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3909, allocations: 0.9772 MB / 0.6166 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.514e-05/0.3909, allocations: 109 kB / 0.6167 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.391, allocations: 108.9 kB / 0.6168 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.098e-05/0.391, allocations: 176.3 kB / 0.6169 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.3911, allocations: 184.2 kB / 0.6171 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-05/0.3912, allocations: 184.2 kB / 0.6173 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.657e-05/0.3913, allocations: 180.3 kB / 0.6175 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.3915, allocations: 412.8 kB / 0.6178 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3917, allocations: 192.3 kB / 0.618 GB, free: 7.758 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.3919, allocations: 184.1 kB / 0.6182 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.3921, allocations: 105 kB / 0.6183 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.3922, allocations: 184.2 kB / 0.6185 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.3923, allocations: 101 kB / 0.6186 GB, free: 7.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009876/0.3933, allocations: 0.8007 MB / 0.6194 GB, free: 6.363 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 0.6194 GB, free: 6.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00154/0.3948, allocations: 462.3 kB / 0.6198 GB, free: 5.91 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.0001545/0.395, allocations: 170.5 kB / 0.62 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.3962, allocations: 0.8706 MB / 0.6208 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3962, allocations: 6 kB / 0.6208 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3962, allocations: 0 / 0.6208 GB, free: 4.871 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.3969, allocations: 0.5355 MB / 0.6213 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.4007, allocations: 2.804 MB / 0.6241 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.402, allocations: 0.9957 MB / 0.6251 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009896/0.403, allocations: 465.7 kB / 0.6255 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.689e-05/0.403, allocations: 63.44 kB / 0.6256 GB, free: 15.93 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.403, allocations: 0 / 0.6256 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Templates: time 0.01784/0.4209, allocations: 8.433 MB / 0.6338 GB, free: 7.633 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 5.193188470992027]