Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009754/0.0009754, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001422/0.001422, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2824/0.2824, allocations: 32.8 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/3.007e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007161/0.007191, allocations: 8.396 MB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.01148, allocations: 2.254 MB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.01266, allocations: 43.88 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.01498, allocations: 1.639 MB / 388.3 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.01601, allocations: 0.5046 MB / 388.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.01629, allocations: 75.72 kB / 388.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.0173, allocations: 0.9562 MB / 389.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.01838, allocations: 1.229 MB / 391.1 MB, free: 5.812 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007631/0.01914, allocations: 0.7989 MB / 391.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.01991, allocations: 0.6503 MB / 392.5 MB, free: 4.359 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.02006, allocations: 120 kB / 392.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.02031, allocations: 140 kB / 392.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.0208, allocations: 0.7713 MB / 393.5 MB, free: 3.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.02126, allocations: 498.3 kB / 394 MB, free: 2.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.02255, allocations: 1.431 MB / 395.5 MB, free: 1.406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.02256, allocations: 4 kB / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.02256, allocations: 0 / 395.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.764e-05/0.02259, allocations: 0 / 395.5 MB, free: 1.402 MB / 362.7 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.001907/0.0245, allocations: 2.083 MB / 397.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.02455, allocations: 12.03 kB / 397.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.02501, allocations: 347.4 kB / 397.9 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.02567, allocations: 0.6372 MB / 398.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.02573, allocations: 119.4 kB / 398.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.02584, allocations: 148.3 kB / 398.8 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.02793, allocations: 2.237 MB / 401 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.02797, allocations: 19.81 kB / 401.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.02806, allocations: 71.94 kB / 401.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005021/0.02856, allocations: 0.6228 MB / 401.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.02993, allocations: 0.8085 MB / 402.6 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00927/0.0392, allocations: 16.82 MB / 419.4 MB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.0393, allocations: 273.4 kB / 419.6 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.03934, allocations: 130.9 kB / 419.8 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.03936, allocations: 123.2 kB / 419.9 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.03942, allocations: 152.6 kB / 420 MB, free: 7.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.03942, allocations: 0 / 420 MB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002018/0.03962, allocations: 144.9 kB / 420.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.03968, allocations: 170.6 kB / 420.4 MB, free: 7.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.04075, allocations: 1.361 MB / 421.7 MB, free: 6.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.04076, allocations: 29.7 kB / 421.7 MB, free: 5.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006695/0.04143, allocations: 1.504 MB / 423.2 MB, free: 4.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.04146, allocations: 43.95 kB / 423.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.04177, allocations: 452.8 kB / 423.7 MB, free: 3.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.04192, allocations: 0.5004 MB / 424.2 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.04213, allocations: 172 kB / 424.4 MB, free: 3.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.04342, allocations: 2.471 MB / 426.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.04527, allocations: 2.894 MB / 429.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.04529, allocations: 16 kB / 429.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002127/0.04742, allocations: 1.807 MB / 431.6 MB, free: 9.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.04746, allocations: 38.28 kB / 431.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/0.0475, allocations: 56 kB / 431.7 MB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/0.04756, allocations: 75.94 kB / 431.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.04829, allocations: 495 kB / 432.2 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-05/0.04836, allocations: 111.6 kB / 432.3 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.04925, allocations: 297.8 kB / 432.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-05/0.04934, allocations: 136 kB / 432.8 MB, free: 8.703 MB / 410.7 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.0005105/0.04985, allocations: 490.4 kB / 433.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.04997, allocations: 256.1 kB / 433.5 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.05009, allocations: 234.1 kB / 433.7 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-05/0.05016, allocations: 280 kB / 434 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.755e-05/0.05022, allocations: 268.1 kB / 434.3 MB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/0.05029, allocations: 272 kB / 434.5 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.05136, allocations: 1.294 MB / 435.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/0.0514, allocations: 148.8 kB / 436 MB, free: 5.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.05144, allocations: 144.9 kB / 436.1 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.68e-05/0.05151, allocations: 272.1 kB / 436.4 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.05158, allocations: 272 kB / 436.6 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-05/0.05165, allocations: 268.1 kB / 436.9 MB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-05/0.05172, allocations: 276 kB / 437.2 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.05193, allocations: 0.5333 MB / 437.7 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.05205, allocations: 236.2 kB / 437.9 MB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.05216, allocations: 268.1 kB / 438.2 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.0523, allocations: 148.8 kB / 438.3 MB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.05237, allocations: 280 kB / 438.6 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.05241, allocations: 148.8 kB / 438.8 MB, free: 2.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005242/0.05293, allocations: 0.6172 MB / 439.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.05293, allocations: 4 kB / 439.4 MB, free: 1.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00113/0.05406, allocations: 454.4 kB / 439.8 MB, free: 1.434 MB / 410.7 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.0001542/0.05422, allocations: 214.4 kB / 440 MB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008339/0.05505, allocations: 0.7644 MB / 440.8 MB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.05505, allocations: 0 / 440.8 MB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.05505, allocations: 0.75 kB / 440.8 MB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.0556, allocations: 0.789 MB / 441.6 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.05831, allocations: 2.599 MB / 444.2 MB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.05865, allocations: 451.5 kB / 444.6 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006257/0.05927, allocations: 433.7 kB / 445.1 MB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.05934, allocations: 68.5 kB / 445.1 MB, free: 12.04 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/0.05934, allocations: 0 / 445.1 MB, free: 12.04 MB / 426.7 MB Notification: Performance of Templates: time 0.01171/0.07105, allocations: 6.056 MB / 451.2 MB, free: 6.129 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4729792280122638]