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.001423/0.001423, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001438/0.001438, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2101/0.2101, allocations: 34.27 MB / 295.5 MB, free: 14.55 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.003163/0.003163, allocations: 71.88 kB / 443.2 MB, free: 6.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3493, allocations: 66.01 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006783/0.3561, allocations: 7.661 MB / 0.5047 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.3602, allocations: 2.185 MB / 0.5069 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.3608, allocations: 46.34 kB / 0.5069 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.3632, allocations: 1.494 MB / 0.5084 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000789/0.364, allocations: 494.1 kB / 0.5088 GB, free: 22.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3643, allocations: 75.66 kB / 0.5089 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006768/0.365, allocations: 0.9191 MB / 0.5098 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009521/0.3659, allocations: 1.201 MB / 0.511 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.3663, allocations: 0.5411 MB / 0.5115 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.3672, allocations: 0.6507 MB / 0.5121 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.3674, allocations: 123 kB / 0.5123 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/0.3678, allocations: 125.1 kB / 0.5124 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007403/0.3685, allocations: 0.742 MB / 0.5131 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006711/0.3692, allocations: 0.641 MB / 0.5137 GB, free: 20.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.3721, allocations: 2.351 MB / 0.516 GB, free: 19.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3721, allocations: 1.25 kB / 0.516 GB, free: 19.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3721, allocations: 0 / 0.516 GB, free: 19.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.307e-05/0.3721, allocations: 0 / 0.516 GB, free: 19.32 MB / 446.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.002788/0.3749, allocations: 1.918 MB / 0.5179 GB, free: 18.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.375, allocations: 13.44 kB / 0.5179 GB, free: 18.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.3757, allocations: 228.4 kB / 0.5181 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3769, allocations: 0.6662 MB / 0.5188 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.377, allocations: 117.4 kB / 0.5189 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.3771, allocations: 153.1 kB / 0.519 GB, free: 17.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004759/0.3819, allocations: 3.382 MB / 0.5223 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.3819, allocations: 22.61 kB / 0.5224 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.3821, allocations: 74.7 kB / 0.5224 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008476/0.3829, allocations: 0.6127 MB / 0.523 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.3862, allocations: 1.856 MB / 0.5248 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.3962, allocations: 12.41 MB / 0.537 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.3963, allocations: 166.6 kB / 0.5371 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.3963, allocations: 85.48 kB / 0.5372 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3964, allocations: 79.22 kB / 0.5373 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3964, allocations: 112.2 kB / 0.5374 GB, free: 3.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.3964, allocations: 1.5 kB / 0.5374 GB, free: 3.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002199/0.3966, allocations: 138.9 kB / 0.5375 GB, free: 3.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3966, allocations: 127.9 kB / 0.5376 GB, free: 3.695 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.3983, allocations: 1.432 MB / 0.539 GB, free: 3.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.3983, allocations: 34.44 kB / 0.5391 GB, free: 3.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.399, allocations: 1.444 MB / 0.5405 GB, free: 1.891 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3991, allocations: 45.03 kB / 0.5405 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.3995, allocations: 425.4 kB / 0.5409 GB, free: 1.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.3996, allocations: 335.2 kB / 0.5413 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.4001, allocations: 368.9 kB / 0.5416 GB, free: 1.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.4015, allocations: 1.932 MB / 0.5435 GB, free: 14.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.4046, allocations: 2.512 MB / 0.546 GB, free: 12.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.538e-05/0.4046, allocations: 17.31 kB / 0.546 GB, free: 12.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003484/0.4081, allocations: 2.092 MB / 0.548 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.4081, allocations: 33.34 kB / 0.548 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/0.4082, allocations: 61.47 kB / 0.5481 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-05/0.4083, allocations: 73.59 kB / 0.5482 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4095, allocations: 492.1 kB / 0.5486 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001079/0.4096, allocations: 113.2 kB / 0.5487 GB, free: 11.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.411, allocations: 304.8 kB / 0.549 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.4112, allocations: 138.2 kB / 0.5492 GB, free: 11.16 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.001435/0.4126, allocations: 0.8579 MB / 0.55 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.4128, allocations: 219.6 kB / 0.5502 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.413, allocations: 214 kB / 0.5504 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.179e-05/0.4131, allocations: 182.1 kB / 0.5506 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/0.4132, allocations: 183.3 kB / 0.5508 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.017e-05/0.4133, allocations: 182.3 kB / 0.5509 GB, free: 9.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.4147, allocations: 0.9761 MB / 0.5519 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.4148, allocations: 106.7 kB / 0.552 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.4148, allocations: 106.8 kB / 0.5521 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.4149, allocations: 178.2 kB / 0.5523 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.415, allocations: 182 kB / 0.5524 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.4151, allocations: 186.3 kB / 0.5526 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.099e-05/0.4151, allocations: 182.2 kB / 0.5528 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.4155, allocations: 408.8 kB / 0.5532 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4157, allocations: 191.9 kB / 0.5534 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4158, allocations: 186.5 kB / 0.5535 GB, free: 7.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.4161, allocations: 104 kB / 0.5536 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.945e-05/0.4162, allocations: 186.3 kB / 0.5538 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.4162, allocations: 103 kB / 0.5539 GB, free: 7.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00111/0.4173, allocations: 0.8008 MB / 0.5547 GB, free: 6.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4173, allocations: 0 / 0.5547 GB, free: 6.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4192, allocations: 458.8 kB / 0.5551 GB, free: 6.688 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.0001558/0.4194, allocations: 174.4 kB / 0.5553 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.4207, allocations: 0.8702 MB / 0.5562 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4207, allocations: 0 / 0.5562 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.4207, allocations: 3.938 kB / 0.5562 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.4215, allocations: 0.5342 MB / 0.5567 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.4259, allocations: 2.81 MB / 0.5594 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4272, allocations: 0.9878 MB / 0.5604 GB, free: 2.184 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4282, allocations: 461.7 kB / 0.5608 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.528e-05/0.4283, allocations: 68.5 kB / 0.5609 GB, free: 1.664 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4283, allocations: 3.938 kB / 0.5609 GB, free: 1.66 MB / 462.1 MB Notification: Performance of Templates: time 0.01548/0.4438, allocations: 6.036 MB / 0.5668 GB, free: 11.77 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 ida -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.282415871042758]